mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
11 lines
519 B
Text
11 lines
519 B
Text
|
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.
|
||
|
|
||
|
After uninstalling, run this command to unregister the package from
|
||
|
the ghc package database: ghc-pkg recache
|