
arrow.generic.Generic.kt Maven / Gradle / Ivy
package arrow.generic
interface Generic {
/** Convert an instance of the concrete type to the generic value representation */
fun to(t: T): Repr
/** Convert an instance of the generic representation to an instance of the concrete type */
fun from(r: Repr): T
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy