-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Safely deal with exceptions in ExceptT -- -- Exception-related functions for ExceptT. -- -- As of exceptions-0.9.0, ExceptT has a valid and -- sensible MonadMask instance. If available, this package -- simply re-exports the relevant functions from exceptions. @package except-exceptions @version 0.1 module Control.Monad.Trans.Except.Exception -- | Exception and Left-safe version of bracket. bracket :: MonadMask m => ExceptT e m a -> (a -> ExceptT e m c) -> (a -> ExceptT e m b) -> ExceptT e m b -- | Exception and Left-safe version of bracket_. bracket_ :: MonadMask m => ExceptT e m a -> ExceptT e m b -> ExceptT e m c -> ExceptT e m c -- | Exception and Left-safe version of bracketOnError. bracketOnError :: MonadMask m => ExceptT e m a -> (a -> ExceptT e m c) -> (a -> ExceptT e m b) -> ExceptT e m b