-
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
XXX In order to create real parallel computations, we need to override ap to use the
applicative version of the ap method
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.PromisePure
pure
-
Method Details
-
-
-
ap
XXX In order to create real parallel computations, we need to override ap to use the
applicative version of the ap method
- Specified by:
ap in interface Applicative<Promise<?>>
- Specified by:
ap in interface Monad<Promise<?>>