Provides a monad-transformer version of the Control.Exception.catch function. For this, it defines the MonadCatchIO class, a subset of MonadIO. It defines proper instances for most monad transformers in the mtl library.
Compiles with GHC 7.6, which no longer exports catch in Prelude.
Patch was provided by John Lato
Generalized the type of throw, as suggested by Anders Kaseorg
Added bracket_, finally, and bracketOnError, as suggested by Bas van Dijk
extra-source-files stanza was missing (generic-code.inc) not included