arrow-core / arrow.core.extensions / EitherMonad
interface ~~EitherMonad~~<L> : Monad<EitherPartialOf<L>>,
EitherApplicative
<L>
Deprecated: Monad typeclass is deprecated and will be removed in 0.13.0. Use concrete methods on Either
fx | open val fx: MonadFx<EitherPartialOf<L>> |
ap | open fun <A, B> EitherOf<L, A>.ap(ff: EitherOf<L, (A) -> B>): Either<L, B> |
flatMap | open fun <A, B> EitherOf<L, A>.flatMap(f: (A) -> EitherOf<L, B>): Either<L, B> |
map | open fun <A, B> EitherOf<L, A>.map(f: (A) -> B): Either<L, B> |
tailRecM | open fun <A, B> tailRecM(a: A, f: (A) -> EitherOf<L, Either<A, B>>): Either<L, B> |
EitherMonadError | interface ~~EitherMonadError~~<L> : MonadError<EitherPartialOf<L>, L>, EitherApplicativeError <L>, EitherMonad <L> |
Do you like Arrow?
✖