Uses of Class
com.jnape.palatable.lambda.monad.SafeT
Packages that use SafeT
-
Uses of SafeT in com.jnape.palatable.lambda.monad
Classes in com.jnape.palatable.lambda.monad that implement interfaces with type arguments of type SafeTModifier and TypeClassDescriptionfinal classA stack-safemonad transformerthat can safely interpret deeply nested left- or right-associated binds for anyMonadRec.final classA stack-safemonad transformerthat can safely interpret deeply nested left- or right-associated binds for anyMonadRec.Methods in com.jnape.palatable.lambda.monad that return SafeTModifier and TypeMethodDescriptionSafeT.discardL(Applicative<B, SafeT<M, ?>> appB) Sequence both thisApplicativeandappB, discarding thisApplicative'sresult and returningappB.SafeT.discardR(Applicative<B, SafeT<M, ?>> 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.SafeT.pure(B b) Lift the valuebinto this applicative functor.SafeT.trampolineM(Fn1<? super A, ? extends MonadRec<RecursiveResult<A, B>, SafeT<M, ?>>> bounce) 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 that return types with arguments of type SafeTModifier and TypeMethodDescriptionGiven alazyinstance 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 thisApplicativeandappB, discarding thisApplicative'sresult and returningappB.SafeT.discardR(Applicative<B, SafeT<M, ?>> 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.SafeT.trampolineM(Fn1<? super A, ? extends MonadRec<RecursiveResult<A, B>, SafeT<M, ?>>> bounce) 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.