arrow-core / arrow.core.extensions / NonEmptyListMonad / tailRecM

tailRecM

open fun <A, B> tailRecM(a: A, f: (A) -> NonEmptyListOf<Either<A, B>>): NonEmptyList<B>

Do you like Arrow?

Arrow Org
<