CRE
- C2
- public class Compose<CRE,C2>
extends java.lang.Object
OptionalType<ListX<Integer>> nested;
Compose.compose(Optionals.functor(),Lists.functor())
.map(i->i*2,nested);
Constructor and Description |
---|
Compose() |
Modifier and Type | Method and Description |
---|---|
static <CRE,C2> Compose<CRE,C2> |
compose(Functor<CRE> f,
Functor<C2> g)
Compose two functors
|
<T,R> Higher<CRE,Higher<C2,R>> |
map(java.util.function.Function<? super T,? extends R> fn,
Higher<CRE,Higher<C2,T>> ds)
Transformation operation
|