arrow-fx / arrow.fx / Schedule / foldM
abstract fun <C> foldM(initial: Kind<F, C>, f: (C, Output) -> Kind<F, C>): Schedule<F, Input, C>
abstract fun <C> foldM(initial: Kind<F, C>, f: (C, Output) -> Kind<F, C>):
Schedule
<F, Input, C>
Accumulate the results of a schedule by folding over them effectfully.
Do you like Arrow?