Uses of Class
com.jnape.palatable.lambda.monad.transformer.builtin.EitherT
Packages that use EitherT
-
Uses of EitherT in com.jnape.palatable.lambda.monad.transformer.builtin
Methods in com.jnape.palatable.lambda.monad.transformer.builtin that return EitherTModifier and TypeMethodDescriptionDually map covariantly over both the left and right parameters.Covariantly map over the left parameter.Covariantly map over the right parameter.EitherT.discardL
(Applicative<R2, EitherT<M, L, ?>> appB) Sequence both thisApplicative
andappB
, discarding thisApplicative's
result and returningappB
.EitherT.discardR
(Applicative<B, EitherT<M, L, ?>> appB) Sequence both thisApplicative
andappB
, discardingappB's
result and returning thisApplicative
.Chain dependent computations that may continue or short-circuit based on previous results.Covariantly transmute this functor's parameter using the given mapping function.EitherT.pure
(R2 r2) Lift the valueb
into this applicative functor.EitherT.throwError
(L l) Throw an error value of typeE
into themonad
.EitherT.trampolineM
(Fn1<? super R, ? extends MonadRec<RecursiveResult<R, R2>, EitherT<M, L, ?>>> fn) Given some operation yielding aRecursiveResult
inside thisMonadRec
, internally trampoline the operation until it yields atermination
instruction.Given another instance of this applicative over a mapping function, "zip" the two instances together using whatever application semantics the current applicative supports.Methods in com.jnape.palatable.lambda.monad.transformer.builtin that return types with arguments of type EitherTModifier and TypeMethodDescriptionGiven alazy
instance of this applicative over a mapping function, "zip" the two instances together using whatever application semantics the current applicative supports.EitherT.liftEitherT()
EitherT.pureEitherT
(Pure<M> pureM) Method parameters in com.jnape.palatable.lambda.monad.transformer.builtin with type arguments of type EitherTModifier and TypeMethodDescriptionEitherT.discardL
(Applicative<R2, EitherT<M, L, ?>> appB) Sequence both thisApplicative
andappB
, discarding thisApplicative's
result and returningappB
.EitherT.discardR
(Applicative<B, EitherT<M, L, ?>> appB) Sequence both thisApplicative
andappB
, discardingappB's
result and returning thisApplicative
.Chain dependent computations that may continue or short-circuit based on previous results.Given alazy
instance of this applicative over a mapping function, "zip" the two instances together using whatever application semantics the current applicative supports.EitherT.trampolineM
(Fn1<? super R, ? extends MonadRec<RecursiveResult<R, R2>, EitherT<M, L, ?>>> fn) Given some operation yielding aRecursiveResult
inside thisMonadRec
, internally trampoline the operation until it yields atermination
instruction.Given another instance of this applicative over a mapping function, "zip" the two instances together using whatever application semantics the current applicative supports.