arrow-core / arrow.core.extensions.sequence.monad / Sequence / monad

monad

fun ~~monad~~(): SequenceKMonad Deprecated: Monad typeclass is deprecated. Use concrete methods on Sequence

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 Option, Either, List

The Monad Tutorial

Do you like Arrow?

Arrow Org
<