//arrow-core/arrow.core/fold

fold

common fun <A> Iterable<A>.fold(MA: Monoid<A>): A

fun <A> Sequence<A>.fold(MA: Monoid<A>): A

fun <E, A> Validated<E, A>.fold(MA: Monoid<A>): A

Do you like Arrow?

Arrow Org
<