arrow-mtl / arrow.mtl.extensions / EitherTApplicativeError

EitherTApplicativeError

@extension interface EitherTApplicativeError<F, L, E> : ApplicativeError<EitherTPartialOf<F, L>, E>, EitherTApplicative<F, L>

Functions

AE abstract fun AE(): ApplicativeError<F, E>
AF open fun AF(): Applicative<F>
handleErrorWith open fun <A> EitherTOf<F, L, A>.handleErrorWith(f: (E) -> EitherTOf<F, L, A>): EitherT<F, L, A>
raiseError open fun <A> raiseError(e: E): EitherT<F, L, A>

Inheritors

EitherTMonadError interface EitherTMonadError<F, L, E> : MonadError<EitherTPartialOf<F, L>, E>, EitherTApplicativeError<F, L, E>, EitherTMonad<F, L>

Do you like Arrow?

Arrow Org
<