- All Superinterfaces:
Applicative<PureIO<R,E,?>>, Functor<PureIO<R,E,?>>, Invariant<PureIO<R,E,?>>, Monad<PureIO<R,E,?>>, PureIOPure<R,E>, Selective<PureIO<R,E,?>>
- All Known Subinterfaces:
PureIOAsync<R>, PureIOBracket<R,E>, PureIOConcurrent<R>, PureIOMonadDefer<R>, PureIOMonadError<R,E>, PureIOMonadThrow<R>
-
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
Methods inherited from interface com.github.tonivade.purefun.instances.PureIOPure
pure
-
-
Method Details
-
flatMap
default <A,
B> PureIO<R,E,B> flatMap(Kind<PureIO<R,E,?>,? extends A> value,
Function1<? super A,? extends Kind<PureIO<R,E,?>,? extends B>> map)
- Specified by:
flatMap in interface Monad<R>