direct2tuple

dev.constructive.eo.compose.Composer.direct2tuple
object direct2tuple extends Composer[Direct, Tuple2]

Express an Iso (or Getter) as a Lens — the Lens's leftover is Unit because the bijection doesn't need any.

Attributes

Source
Composer.scala
Graph
Supertypes
trait Composer[Direct, Tuple2]
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, Direct]): Optic[S, T, A, B, Tuple2]

Attributes

Source
Composer.scala