Deprecated

In favour of

MonadCatchIO-transformers

Monad-transformer compatible version of the Control.Exception module

LTS Haskell 6.35:0.3.1.3
Stackage Nightly 2016-05-25:0.3.1.3
Latest on Hackage:0.3.1.3

See all snapshots MonadCatchIO-transformers appears in

BSD-3-Clause licensed
Maintained by [email protected]
This version can be pinned in stack with:MonadCatchIO-transformers-0.3.1.3@sha256:468a6f12fd3821d2ab6301cc3543930c05e5117118917c6857ea383bdcc96c54,1127

Module documentation for 0.3.1.3

  • Control
    • Control.Monad
      • Control.Monad.CatchIO
        • Control.Monad.CatchIO.Try

Provides functions to throw and catch exceptions. Unlike the functions from Control.Exception, which work in IO, these work in any stack of monad transformers (from the transformers package) with IO as the base monad. You can extend this functionality to other monads, by creating an instance of the MonadCatchIO class. Warning: this package is deprecated. Use the exceptions package instead, if possible.