arrow-mtl / arrow.mtl.extensions / EitherTFoldable

EitherTFoldable

@extension interface EitherTFoldable<F, L> : Foldable<EitherTPartialOf<F, L>>

Functions

FFF abstract fun FFF(): Foldable<F>
foldLeft open fun <B, C> EitherTOf<F, L, B>.foldLeft(b: C, f: (C, B) -> C): C
foldRight open fun <B, C> EitherTOf<F, L, B>.foldRight(lb: Eval<C>, f: (B, Eval<C>) -> Eval<C>): Eval<C>

Inheritors

EitherTTraverse interface EitherTTraverse<F, L> : Traverse<EitherTPartialOf<F, L>>, EitherTFunctor<F, L>, EitherTFoldable<F, L>