arrow-fx-coroutines / arrow.fx.coroutines.stream / Chunk / scanLeft

scanLeft

inline fun <O2> scanLeft(z: O2, f: (O2, O) -> O2): Chunk<O2>

Like foldLeft but emits each intermediate result of f.

Do you like Arrow?

Arrow Org
<