arrow-effects-extensions / arrow.effects.extensions / EitherTBracket

EitherTBracket

@extension interface EitherTBracket<F> : Bracket<EitherTPartialOf<F, Throwable>, Throwable>, EitherTMonadThrow<F>

Functions

AE open fun AE(): ApplicativeError<F, Throwable>
bracketCase open fun <A, B> EitherTOf<F, Throwable, A>.bracketCase(release: (A, ExitCase<Throwable>) -> EitherTOf<F, Throwable, Unit>, use: (A) -> EitherTOf<F, Throwable, B>): EitherT<F, Throwable, B>
MDF abstract fun MDF(): MonadDefer<F>
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

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