Iso

object Iso
Source
Iso.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[S, A](get: S => A)(reverseGet: A => S): Iso[S, A]

alias for PIso apply when S = T and A = B

alias for PIso apply when S = T and A = B

Source
Iso.scala
def id[S]: Iso[S, S]

alias for PIso id when S = T and A = B

alias for PIso id when S = T and A = B

Source
Iso.scala
def involuted[A](update: A => A): Iso[A, A]

create an Iso from a function that is its own inverse

create an Iso from a function that is its own inverse

Source
Iso.scala