//arrow-fx-coroutines/arrow.fx.coroutines/Schedule/fold
common fun <C> fold(initial: C, f: suspend (C, Output) -> C): Schedule<Input, C>
Non-effectful version of foldM.
Do you like Arrow?