arrow-mtl / arrow.mtl.extensions / KleisliAlternative

KleisliAlternative

@extension interface KleisliAlternative<F, D> : Alternative<KleisliPartialOf<F, D>>, KleisliApplicative<F, D>

Functions

AF open fun AF(): Applicative<F>
AL abstract fun AL(): Alternative<F>
empty open fun <A> empty(): Kind<KleisliPartialOf<F, D>, A>
orElse open fun <A> Kind<KleisliPartialOf<F, D>, A>.orElse(b: Kind<KleisliPartialOf<F, D>, A>): Kind<KleisliPartialOf<F, D>, A>