either2affine

dev.constructive.eo.data.Affine.either2affine
object either2affine extends Composer[Either, Affine]

Prism → Affine — reuses the Either decomposition for Affine's miss / hit branches.

Attributes

Source
Affine.scala
Graph
Supertypes
trait Composer[Either, Affine]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def to[S, T, A, B](o: Optic[S, T, A, B, Either]): Optic[S, T, A, B, Affine]

Attributes

Source
Affine.scala