Created by MarkPerry on 14/01/14.
| Constructor and description |
|---|
Lens
(F<A, B> g, fj.F2<A, B, A> s) |
| Type | Name and description |
|---|---|
Lens<A, C> |
andThen(Lens<B, C> lens) |
Lens<C, B> |
compose(Lens<C, A> lens) |
State<A, C> |
flatMap(F<B, State<A, C>> f) |
B |
get(A a) |
static Lens<C, D> |
lift(F<C, D> g, fj.F2<C, D, C> s) |
State<A, C> |
map(F<B, C> f) |
static Lens<java.util.Map<K, V>, fj.data.Option<V>> |
mapLens(K k) |
A |
mod(A a, F<B, B> f) |
State<A, B> |
mod(F<B, B> f) |
State<A, B> |
mod(groovy.lang.Closure<B> c) |
Lens<fj.P2<A, C>, fj.P2<B, D>> |
product(Lens<C, D> lens) |
A |
set(A a, B b) |
static Lens<java.util.Set<K>, java.lang.Boolean> |
setLens(K k) |
State<A, B> |
state() |
Lens<fj.data.Either<A, C>, B> |
sum(Lens<C, B> lens) |
State<A, B> |
update(B b) |
State<A, B> |
update(F<fj.Unit, B> f) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy Documentation