Extensible optionally-pure exceptions
|Version on this page:||0.10.4|
|LTS Haskell 20.15:||0.10.4|
|Stackage Nightly 2023-03-20:||0.10.5|
|Latest on Hackage:||0.10.7@rev:1|
Maintained by Edward A. Kmett
This version can be pinned in stack with:
Module documentation for 0.10.4
Depends on 5 packages(full list with versions):
Used by 194 packages in lts-19.27(full list with versions):
aeson-compat, Agda, ansi-terminal-game, apecs, bimap, binary-conduit, boots, brick, cacophony, capability, casa-client, cayley-client, cgi, clash-ghc, clash-lib, cleff, climb, componentm, concurrency, concurrent-output, conduino, conduit, conduit-algorithms, core-program, criterion, cryptocompare, cryptonite-conduit, csv-conduit, cue-sheet, datasets, DAV, dbus, debian, dejafu, dhall, dhall-json, dhall-yaml, di, diagrams-lib, di-handle, and many more
This package provides (optionally pure) extensible exceptions that are compatible with the monad transformer library.
Contributions and bug reports are welcome!
Please feel free to contact me through github or on the #haskell IRC channel on irc.freenode.net.
- Allow building with
- Only depend on
transformers-compaton old versions of GHC.
MonadThrowinstance for the strict
- Allow building with
- Define a
QuickCheck-2.13in the test suite.
- Fix a regression in 0.9.0 whereby the non-IO effects in
useaction were not visible to the
releaseaction, and the non-IO effects in the
releaseaction were not visible after the
- The type of
generalBracketwas changed in order to restore those non-IO effects, so if you are a library author that provides a
MonadMaskinstance, you will need to update your implementation of this method.
onErrorfunction whose action also runs on errors which are not exceptions, such as a
MonadMasktypeclass, allowing more valid instances.
Note that functions such as
finallyare now based off of
generalBracket, so if you are a library author that provides a
MonadMaskinstance, you will need to provide an implementation of this method.
- Support for throwing in the
- Support for
- Resolved warnings on GHC 7.10 and with transformers 0.4.
transformers-compatto allow support for
ExceptTeven on older
- Split out
- Added instances of
- Factored out a separate
- QuickCheck dependency bump
- Relicensed under the 3-clause BSD license.
- Better documentation for
handle-like analogues for parity with
- Fixed test suite.
Control.Monad.Catch.Pureto make it clear it isn’t required for working with
- License fix. We were accidentally listing both an APL and BSD3 license in the same module
- Repository initialized