alias for product
alias for compose
alias for andThen
If the Partial Lens is null, then return the target object, otherwise run the function on its projection.
Partial Lenses can be composed
If the Partial Lens is null, then return the given default value.
Modify the potential value viewed through the partial lens
Two disjoint partial lenses can be paired
Two partial lenses that view a value of the same type can be joined
Alias for sum
Partial Lens Families, offering a purely functional means to access and retrieve an optional field transitioning from type
B1to typeB2in a record that is simultaneously transitioning from typeA1to typeA2. scalaz.PLens is a convenient alias for whenA1 =:= A2, andB1 =:= B2.The term field should not be interpreted restrictively to mean a member of a class. For example, a partial lens family can address the nth element of a
List.The initial type of the record
The final type of the record
The initial type of the optional field
The final type of the optional field
scalaz.Lens