arrow-effects-extensions / arrow.effects.extensions / EitherTMonadDefer

EitherTMonadDefer

@extension interface EitherTMonadDefer<F> : MonadDefer<EitherTPartialOf<F, Throwable>>, EitherTBracket<F>

Functions

defer open fun <A> defer(fa: () -> EitherTOf<F, Throwable, A>): EitherT<F, Throwable, A>
MDF abstract fun MDF(): MonadDefer<F>

Inherited Functions

AE open fun AE(): ApplicativeError<F, Throwable>
MF open fun MF(): Monad<F>

Extension Functions

just fun <A> A.just(): IO<A>
just fun <F, E, A> A.just(BR: Bracket<F, E>): Resource<F, E, A>

Inheritors

EitherTAsync interface EitherTAsync<F> : Async<EitherTPartialOf<F, Throwable>>, EitherTMonadDefer<F>