|
UI.HSCurses.MonadException |
|
|
|
|
Documentation |
|
|
|
|
|
|
|
|
:: MonadExc m | | => Exception -> Maybe b | Predicate to select exceptions
| -> m a | Computation to run
| -> b -> m a | Handler
| -> m a | |
|
|
|
|
|
|
|
|
|
|
|
|
|
:: MonadExc 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 | |
|
|
|
|
|
:: IO a | computation to run first
| -> IO b | computation to run afterward (even if an exception
was raised)
| -> IO a | |
|
|
|
|
|
|
|
|
|
|
Produced by Haddock version 2.6.1 |