arrow-mtl / arrow.mtl.extensions / KleisliDecidableInstance / choose

choose

open fun <A, B, Z> choose(fa: Kind<KleisliPartialOf<F, D>, A>, fb: Kind<KleisliPartialOf<F, D>, B>, f: (Z) -> Either<A, B>): Kind<KleisliPartialOf<F, D>, Z>

Do you like Arrow?

Arrow Org