object PIso extends IsoInstances with Serializable

Source
Iso.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PIso
  2. Serializable
  3. IsoInstances
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply[S, T, A, B](_get: (S) => A)(_reverseGet: (B) => T): PIso[S, T, A, B]

    create a PIso using a pair of functions: one to get the target and one to get the source.

  2. def id[S, T]: PIso[S, T, S, T]

    create a PIso between any type and itself.

    create a PIso between any type and itself. id is the zero element of optics composition, for all optics o of type O (e.g. Lens, Iso, Prism, ...): o composeIso Iso.id == o Iso.id composeO o == o (replace composeO by composeLens, composeIso, composePrism, ...)

  3. implicit val isoCategory: Category[Iso]
    Definition Classes
    IsoInstances
  4. implicit def isoSyntax[S, A](self: Iso[S, A]): IsoSyntax[S, A]
  5. implicit def pIsoSyntax[S, T, A, B](self: PIso[S, T, A, B]): PIsoSyntax[S, T, A, B]