ZOptional
zio.optics.OpticTypesModule.ZOptional$
object ZOptional
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- ZOptional.type
Members list
Concise view
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.
Attributes
An optic that accesses the specified index of a chunk.
An optic that accesses the specified index of a chunk.
Attributes
An optic that accesses the head of a list.
An optic that accesses the head of a list.
Attributes
An optic that accesses the value at the specified key in a map.
An optic that accesses the value at the specified key in a map.