arrow-core / arrow.core.extensions / ListKMonadCombine

ListKMonadCombine

interface ~~ListKMonadCombine~~ : MonadCombine<ForListK>, ListKAlternative Deprecated: MonadCombine typeclass is deprecated and will be removed in 0.13.0. Use concrete methods on List or Iterable.

Functions

ap open fun <A, B> Kind<ForListK, A>.ap(ff: Kind<ForListK, (A) -> B>): ListK<B>
empty open fun <A> empty(): ListK<A>
filterMap open fun <A, B> Kind<ForListK, A>.filterMap(f: (A) -> Option<B>): ListK<B>
flatMap open fun <A, B> Kind<ForListK, A>.flatMap(f: (A) -> Kind<ForListK, B>): ListK<B>
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>

Do you like Arrow?

Arrow Org
<