public interface FlatMap<T> extends Functor<T>, ToAnyM<T>
Modifier and Type | Interface and Description |
---|---|
static interface |
FlatMap.Apply2<T1,T2> |
static class |
FlatMap.Apply2Impl<T1,T2> |
static interface |
FlatMap.Apply3<T1,T2,T3> |
static class |
FlatMap.Apply3Impl<T1,T2,T3> |
Modifier and Type | Method and Description |
---|---|
default <T2,T3> FlatMap.Apply3<T,T2,T3> |
applyWith(FlatMap<T2> monad,
Functor<T3> functor2) |
default <T2> FlatMap.Apply2<T,T2> |
applyWith(Functor<T2> functor) |
<R> FlatMap<R> |
flatten() |
cast, map, patternMatch, peek, trampoline
<R> FlatMap<R> flatten()
default <T2> FlatMap.Apply2<T,T2> applyWith(Functor<T2> functor)
default <T2,T3> FlatMap.Apply3<T,T2,T3> applyWith(FlatMap<T2> monad, Functor<T3> functor2)