arrow-core / arrow.core.extensions / EitherApplicative

EitherApplicative

interface ~~EitherApplicative~~<L> : Applicative<EitherPartialOf<L>>, EitherApply<L> Deprecated: Applicative typeclass is deprecated and will be removed in 0.13.0. Use concrete methods on Either

Functions

just open fun <A> just(a: A): Either<L, A>
map open fun <A, B> EitherOf<L, A>.map(f: (A) -> B): Either<L, B>

Inheritors

EitherApplicativeError interface ~~EitherApplicativeError~~<L> : ApplicativeError<EitherPartialOf<L>, L>, EitherApplicative<L>
EitherMonad interface ~~EitherMonad~~<L> : Monad<EitherPartialOf<L>>, EitherApplicative<L>

Do you like Arrow?

Arrow Org
<