|
| Control.Monad.Resumable.Class | | Portability | non-portable (GHC extensions) | | Stability | experimental | | Maintainer | nicolas.frisby@gmail.com |
|
|
|
| Description |
| A monadic interface for resumable exceptions.
|
|
| Synopsis |
|
|
|
| Documentation |
|
| class Monad m => MonadResumable req res m | m -> req res where | Source |
|
| A monadic interface for resumable exceptions.
| | | Methods | | yield :: req -> (res -> m a) -> m a | Source |
| | Raise the exception: a request and a resumption to use if the request
can be handled.
| | | handle :: m a -> (req -> (res -> m a) -> m a) -> m a | Source |
| | Installs a handler to quiesce an exception before it percolates to the
higher-level handlers.
|
| | Instances | |
|
|
|
| Variation on handle that always applies the resumption.
|
|
| Produced by Haddock version 2.6.0 |