arrow-mtl / arrow.mtl.extensions / OptionTMonad / tailRecM

tailRecM

open fun <A, B> tailRecM(a: A, f: (A) -> OptionTOf<F, Either<A, B>>): OptionT<F, B>

Do you like Arrow?

Arrow Org
<