ZOptional
object ZOptional
class Object
trait Matchable
class Any
Value members
Concrete methods
def apply[S, T, A, B](get: S => OpticResult[(OpticFailure, T), A], set: B => S => OpticResult[(OpticFailure, T), T]): ZOptional[S, T, A, B]
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.