arrow-mtl / arrow.mtl.extensions / EitherTApply

EitherTApply

@extension interface EitherTApply<F, L> : Apply<EitherTPartialOf<F, L>>, EitherTFunctor<F, L>

Functions

AF abstract fun AF(): Applicative<F>
ap open fun <A, B> EitherTOf<F, L, A>.ap(ff: EitherTOf<F, L, (A) -> B>): EitherT<F, L, B>
FF open fun FF(): Functor<F>
lazyAp open fun <A, B> Kind<EitherTPartialOf<F, L>, A>.lazyAp(ff: () -> Kind<EitherTPartialOf<F, L>, (A) -> B>): Kind<EitherTPartialOf<F, L>, B>
map open fun <A, B> EitherTOf<F, L, A>.map(f: (A) -> B): EitherT<F, L, B>

Inheritors

EitherTApplicative interface EitherTApplicative<F, L> : Applicative<EitherTPartialOf<F, L>>, EitherTApply<F, L>

Do you like Arrow?

Arrow Org
<