arrow-core / arrow.core.extensions / ListKMonad
interface ~~ListKMonad~~ : Monad<ForListK>
Deprecated: Monad typeclass is deprecated and will be removed in 0.13.0. Use concrete methods on List or Iterable.
ap | open fun <A, B> Kind<ForListK, A>.ap(ff: Kind<ForListK, (A) -> B>): ListK<B> |
flatMap | open fun <A, B> Kind<ForListK, A>.flatMap(f: (A) -> Kind<ForListK, B>): ListK<B> |
flatten | open fun <A> Kind<ForListK, List <A>>.flatten(dummy: Unit = Unit): Kind<ForListK, A> |
just | open fun <A> just(a: A): ListK<A> |
map | open fun <A, B> Kind<ForListK, A>.map(f: (A) -> B): ListK<B> |
map2 | open fun <A, B, Z> Kind<ForListK, A>.map2(fb: Kind<ForListK, B>, f: (Tuple2<A, B>) -> Z): ListK<Z> |
tailRecM | open fun <A, B> tailRecM(a: A, f: (A) -> ListKOf<Either<A, B>>): ListK<B> |
ListKMonadPlus | interface ~~ListKMonadPlus~~ : MonadPlus<ForListK>, ListKMonad , ListKAlternative |
Do you like Arrow?
✖