errors-ext-0.1.1: A bracket function for ExceptT over IO monad.

Copyright(c) 2007 Warlock <internalmike@gmail.com>
LicenseApache
Maintainerinternalmike@gmail.com
Stabilityexperimental
PortabilityGHC
Safe HaskellSafe
LanguageHaskell2010

Control.Error.Extensions

Description

A bracket function for ExceptT over IO monad.

Synopsis

Documentation

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.

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.