axle.algebra.Bijection.scala Maven / Gradle / Ivy
The newest version!
package axle.algebra
trait Bijection[A, B] extends Function1[A, B] {
def apply(a: A): B
def unapply(b: B): A
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy