Constructs a Prism
from a get
and a set
function.
An optic that accesses the ::
case of a List
.
An optic that accesses the Left
case of an Either
.
An optic that accesses the None
case of an Option
.
An optic that accesses the Right
case of an Either
.
An optic that accesses the Some
case of an Option
.