arrow-core / arrow.core.extensions / NonEmptyListMonad
interface ~~NonEmptyListMonad~~ : Monad<ForNonEmptyList>
Deprecated: Monad typeclass is deprecated and will be removed in 0.13.0. Use concrete methods on NonEmptyList.
ap | open fun <A, B> NonEmptyListOf<A>.ap(ff: NonEmptyListOf<(A) -> B>): NonEmptyList<B> |
flatMap | open fun <A, B> NonEmptyListOf<A>.flatMap(f: (A) -> NonEmptyListOf<B>): NonEmptyList<B> |
just | open fun <A> just(a: A): NonEmptyList<A> |
map | open fun <A, B> NonEmptyListOf<A>.map(f: (A) -> B): NonEmptyList<B> |
tailRecM | open fun <A, B> tailRecM(a: A, f: (A) -> NonEmptyListOf<Either<A, B>>): NonEmptyList<B> |
Do you like Arrow?
✖