errors-ext-0.1.3: Bracket-like functions for ExceptT over IO monad.
Control.Error.Extensions
Description
This module exports bracket-like functions for ExceptT over IO monad.
ExceptT
IO
Synopsis
bracketE :: ExceptT e IO a -> (a -> ExceptT e IO b) -> (a -> ExceptT e IO c) -> ExceptT e IO c Source #
Analogous to bracket, but for ExceptT over IO.
bracket
bracketE_ :: ExceptT e IO a -> ExceptT e IO b -> ExceptT e IO c -> ExceptT e IO c Source #
A variant of bracketE where the return value from the first computation is not required.
bracketE