arrow-fx-coroutines / arrow.fx.coroutines.stream / foldMonoid
fun <O> Stream<O>.foldMonoid(MO: Monoid<O>): Stream<O>
fun <O>
Stream
<O>.foldMonoid(MO: Monoid<O>):
<O>
Folds this stream with the monoid for O.
O
Return Either a singleton stream or a never stream:
never
Do you like Arrow?