Modify the portion of the state viewed through the lens and return its new value.
Modify the portion of the state viewed through the lens and return its new value.
Modify the portion of the state viewed through the lens, but do not return its new value.
Modify the portion of the state viewed through the lens, but do not return its new value.
alias for product
alias for product
Sequence the monadic action of looking through the lens to occur before the state action f
.
Sequence the monadic action of looking through the lens to occur before the state action f
.
Set the portion of the state viewed through the lens and return its new value.
Set the portion of the state viewed through the lens and return its new value.
Modify the portion of the state viewed through the lens and return its old value.
Modify the portion of the state viewed through the lens and return its old value. alias for modo
7.0.2
Set the portion of the state viewed through the lens and return its old value.
Set the portion of the state viewed through the lens and return its old value. alias for assigno
7.0.2
alias for compose
alias for compose
Map the function f
over the value under the lens, as a state action.
Map the function f
over the value under the lens, as a state action.
alias for andThen
alias for andThen
Bind the function f
over the value under the lens, as a state action.
Bind the function f
over the value under the lens, as a state action.
Set the portion of the state viewed through the lens and return its new value.
Set the portion of the state viewed through the lens and return its new value.
Set the portion of the state viewed through the lens and return its old value.
Set the portion of the state viewed through the lens and return its old value.
7.0.2
Lenses can be composed
Lenses can be composed
Bind the function f
over the value under the lens, as a state action.
Bind the function f
over the value under the lens, as a state action.
Contravariantly map a state action through a lens.
Contravariantly map a state action through a lens.
Contravariantly mapping the state of a state monad through a lens is a natural transformation
Contravariantly mapping the state of a state monad through a lens is a natural transformation
Map the function f
over the lens as a state action.
Map the function f
over the lens as a state action.
Modify the value viewed through the lens
Modify the value viewed through the lens
Modify the value viewed through the lens, returning a functor X
full of results.
Modify the value viewed through the lens, returning a functor X
full of results.
Modify the portion of the state viewed through the lens and return its old value.
Modify the portion of the state viewed through the lens and return its old value.
7.0.2
Modify the value viewed through the lens, returning a C
on the side.
Modify the value viewed through the lens, returning a C
on the side.
Modify the portion of the state viewed through the lens and return its new value.
Modify the portion of the state viewed through the lens and return its new value.
Modify the portion of the state viewed through the lens, but do not return its new value.
Modify the portion of the state viewed through the lens, but do not return its new value.
A homomorphism of lens categories
A homomorphism of lens categories
Two disjoint lenses can be paired
Two disjoint lenses can be paired
Two lenses that view a value of the same type can be joined
Two lenses that view a value of the same type can be joined
alias for partial
alias for partial
Alias for sum
Alias for sum
A lens that doesn't transform the type of the record.
scalaz.@>