arrow-fx-coroutines / arrow.fx.coroutines.stream / Chunk / scanLeft
inline fun <O2> scanLeft(z: O2, f: (O2, O) -> O2): Chunk<O2>
inline fun <O2> scanLeft(z: O2, f: (O2, O) -> O2):
Chunk
<O2>
Like foldLeft but emits each intermediate result of f.
foldLeft
f
Do you like Arrow?