arrow-recursion-data / arrow.recursion / elgot

elgot

fun <F, A, B> B.elgot(alg: Algebra<F, A>, f: (B) -> Either<A, Kind<F, B>>, FF: Functor<F>): A

Refold, but with the ability to short circuit during construction

Do you like Arrow?

Arrow Org
<