Uses of Interface
com.jnape.palatable.lambda.monad.MonadError
Packages that use MonadError
Package
Description
-
Uses of MonadError in com.jnape.palatable.lambda.adt
Classes in com.jnape.palatable.lambda.adt that implement MonadErrorModifier and TypeClassDescriptionclassEither<L,R> The binary tagged union, implemented as a specializedCoProduct2.private static final classEither.Left<L,R> private static final classEither.Right<L,R> classMaybe<A>The optional type, representing a potentially absent value.private static final classMaybe.Just<A>private static final classclassTry<A>AMonadof the evaluation outcome of an expression that might throw.private static final classTry.Failure<A>private static final classTry.Success<A> -
Uses of MonadError in com.jnape.palatable.lambda.io
Classes in com.jnape.palatable.lambda.io that implement MonadErrorModifier and TypeClassDescriptionclassIO<A>AMonadrepresenting some side-effecting computation to be performed.private static final classIO.Compose<A> -
Uses of MonadError in com.jnape.palatable.lambda.monad
Classes in com.jnape.palatable.lambda.monad with type parameters of type MonadErrorModifier and TypeInterfaceDescriptioninterfaceMonadError<E,A, M extends MonadError<E, ?, M>> An interface formonadsthat can be interrupted with some type of error.Methods in com.jnape.palatable.lambda.monad that return MonadErrorModifier and TypeMethodDescriptionMonadError<E, A, M> default <B> MonadError<E, B, M> MonadError.discardL(Applicative<B, M> appB) Sequence both thisApplicativeandappB, discarding thisApplicative'sresult and returningappB.default <B> MonadError<E, A, M> MonadError.discardR(Applicative<B, M> appB) Sequence both thisApplicativeandappB, discardingappB'sresult and returning thisApplicative.<B> MonadError<E, B, M> Chain dependent computations that may continue or short-circuit based on previous results.default <B> MonadError<E, B, M> Covariantly transmute this functor's parameter using the given mapping function.<B> MonadError<E, B, M> MonadError.pure(B b) Lift the valuebinto this applicative functor.MonadError<E, A, M> MonadError.throwError(E e) Throw an error value of typeEinto themonad.default <B> MonadError<E, B, M> MonadError.zip(Applicative<Fn1<? super A, ? extends B>, M> appFn) 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 MonadErrorModifier and TypeMethodDescriptiondefault <B> Lazy<? extends MonadError<E, B, M>> Given alazyinstance of this applicative over a mapping function, "zip" the two instances together using whatever application semantics the current applicative supports. -
Uses of MonadError in com.jnape.palatable.lambda.monad.transformer.builtin
Classes in com.jnape.palatable.lambda.monad.transformer.builtin that implement MonadErrorModifier and TypeClassDescriptionfinal classAmonad transformerforEither.final classAmonad transformerforMaybe.