arrow-fx-rx2 / arrow.fx.rx2.extensions.flowablek.monad / monad


inline fun FlowableK.Companion.monad(): FlowableKMonad

Monad abstract over the ability to declare sequential computations that are dependent in the order or the results of previous computations.

Given a type constructor F with a value of A we can compose multiple operations of type Kind<F, ?> where ? denotes a value being transformed.

This is true for all type constructors that can support the Monad type class including and not limited to IO, DeferredK, ObservableK, Option, Either, List, Try

The Monad Tutorial

Type Class Hierarchy