Optional
object Optional
class Object
trait Matchable
class Any
Value members
Concrete methods
def apply[S, A](get: S => OpticResult[OpticFailure, A], set: A => S => OpticResult[OpticFailure, S]): Optional[S, A]
Constructs an Optional
from a get
and a set
function.
Constructs an Optional
from a get
and a set
function.
An optic that accesses the specified index of a chunk.
An optic that accesses the specified index of a chunk.