Uses of Class
com.jnape.palatable.lambda.monad.SafeT
Packages that use SafeT
-
Uses of SafeT in com.jnape.palatable.lambda.monad
Methods in com.jnape.palatable.lambda.monad that return SafeTModifier and TypeMethodDescriptionSafeT.discardL
(Applicative<B, SafeT<M, ?>> appB) Sequence both thisApplicative
andappB
, discarding thisApplicative's
result and returningappB
.SafeT.discardR
(Applicative<B, SafeT<M, ?>> 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.SafeT.pure
(B b) Lift the valueb
into this applicative functor.SafeT.trampolineM
(Fn1<? super A, ? extends MonadRec<RecursiveResult<A, B>, SafeT<M, ?>>> bounce) 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 that return types with arguments of type SafeTModifier and TypeMethodDescriptionGiven alazy
instance of this applicative over a mapping function, "zip" the two instances together using whatever application semantics the current applicative supports.SafeT.liftSafeT()
Method parameters in com.jnape.palatable.lambda.monad with type arguments of type SafeTModifier and TypeMethodDescriptionSafeT.discardL
(Applicative<B, SafeT<M, ?>> appB) Sequence both thisApplicative
andappB
, discarding thisApplicative's
result and returningappB
.SafeT.discardR
(Applicative<B, SafeT<M, ?>> 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.SafeT.trampolineM
(Fn1<? super A, ? extends MonadRec<RecursiveResult<A, B>, SafeT<M, ?>>> bounce) 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.