arrow-fx-coroutines / arrow.fx.coroutines.stream / reduceSemigroup

reduceSemigroup

fun <O> Stream<O>.reduceSemigroup(S: Semigroup<O>): Stream<O>

Reduces this stream with the Semigroup for O.

Do you like Arrow?

Arrow Org
<