|
|
|
|
Synopsis |
|
|
|
Documentation |
|
|
| Methods | | Generalized version of catch
| | | Generalized version of block
| | | Generalized version of unblock
|
| | Instances | |
|
|
Exception (toException, fromException) |
|
|
Generalized version of throwIO
|
|
|
Generalized version of try
|
|
|
Generalized version of tryJust
|
|
|
Generalized version of onException
|
|
|
Generalized version of bracket
|
|
|
:: MonadCatchIO m | | => m a | computation to run first ("acquire resource")
| -> m b | computation to run last ("release resource")
| -> m c | computation to run in-between
| -> m c | | A variant of bracket where the return value from the first computation
is not required.
|
|
|
|
:: MonadCatchIO m | | => m a | computation to run first
| -> m b | computation to run afterward (even if an exception was
raised)
| -> m a | | A specialised variant of bracket with just a computation to run
afterward.
|
|
|
|
:: MonadCatchIO m | | => m a | computation to run first ("acquire resource")
| -> a -> m b | computation to run last ("release resource")
| -> a -> m c | computation to run in-between
| -> m c | | Like bracket, but only performs the final action if there was an
exception raised by the in-between computation.
|
|
|
|
Generalized version of Handler
| Constructors | |
|
|
|
Generalized version of catches
|
|
Produced by Haddock version 2.4.2 |