arrow-mtl / arrow.mtl.extensions / OptionTAlternative

OptionTAlternative

@extension interface OptionTAlternative<F> : Alternative<OptionTPartialOf<F>>, OptionTApplicative<F>

Functions

empty open fun <A> empty(): Kind<OptionTPartialOf<F>, A>
lazyOrElse open fun <A> Kind<OptionTPartialOf<F>, A>.lazyOrElse(b: () -> Kind<OptionTPartialOf<F>, A>): Kind<OptionTPartialOf<F>, A>
MF abstract fun MF(): Monad<F>
orElse open fun <A> Kind<OptionTPartialOf<F>, A>.orElse(b: Kind<OptionTPartialOf<F>, A>): Kind<OptionTPartialOf<F>, A>

Do you like Arrow?

Arrow Org
<