- All Superinterfaces:
Applicative<StateT<F,S,?>>, Functor<StateT<F,S,?>>, Invariant<StateT<F,S,?>>, Monad<StateT<F,S,?>>, Selective<StateT<F,S,?>>
- All Known Subinterfaces:
StateTMonadError<F,S,E>, StateTMonadReader<F,S,R>, StateTMonadState<F,S>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.github.tonivade.purefun.typeclasses.Applicative
Applicative.Map2<F extends Kind<F,?>,A,B>, Applicative.Map3<F extends Kind<F,?>,A,B,C>, Applicative.Map4<F extends Kind<F,?>,A,B,C,D>, Applicative.Map5<F extends Kind<F,?>,A,B,C,D,E>
-
Method Summary
Methods inherited from interface com.github.tonivade.purefun.typeclasses.Applicative
first, last, mapN, mapN, mapN, mapN, mapN, mapN, mapN, mapN, tuple, tuple, tuple, tuple
Methods inherited from interface com.github.tonivade.purefun.typeclasses.Functor
imap, lift
-
Method Details
-
-
-
-
flatMap
default <T,
R> StateT<F,S,R> flatMap(Kind<StateT<F,S,?>,? extends T> value,
Function1<? super T,? extends Kind<StateT<F,S,?>,? extends R>> map)
- Specified by:
flatMap in interface Monad<F extends Kind<F,?>>