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 thisApplicativeandappB, discarding thisApplicative'sresult and returningappB.EitherT.discardR(Applicative<B, EitherT<M, L, ?>> appB) Sequence both thisApplicativeandappB, discardingappB'sresult 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 valuebinto this applicative functor.EitherT.throwError(L l) Throw an error value of typeEinto themonad.EitherT.trampolineM(Fn1<? super R, ? extends MonadRec<RecursiveResult<R, R2>, EitherT<M, L, ?>>> fn) Given some operation yielding aRecursiveResultinside thisMonadRec, internally trampoline the operation until it yields aterminationinstruction.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 alazyinstance 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 thisApplicativeandappB, discarding thisApplicative'sresult and returningappB.EitherT.discardR(Applicative<B, EitherT<M, L, ?>> appB) Sequence both thisApplicativeandappB, discardingappB'sresult and returning thisApplicative.Chain dependent computations that may continue or short-circuit based on previous results.Given alazyinstance 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 aRecursiveResultinside thisMonadRec, internally trampoline the operation until it yields aterminationinstruction.Given another instance of this applicative over a mapping function, "zip" the two instances together using whatever application semantics the current applicative supports.