arrow-core / arrow.core.extensions / NonEmptyListFoldable
interface ~~NonEmptyListFoldable~~ : Foldable<ForNonEmptyList>
Deprecated: Foldable typeclass is deprecated and will be removed in 0.13.0. Use concrete methods on NonEmptyList.
foldLeft | open fun <A, B> NonEmptyListOf<A>.foldLeft(b: B, f: (B, A) -> B): B |
foldRight | open fun <A, B> NonEmptyListOf<A>.foldRight(lb: Eval<B>, f: (A, Eval<B>) -> Eval<B>): Eval<B> |
isEmpty | open fun <A> NonEmptyListOf<A>.isEmpty(): Boolean |
Do you like Arrow?
✖