|
Org.Org.Semantic.HBase.Category.MonadCont |
|
|
|
|
|
Synopsis |
|
|
|
Documentation |
|
class Monad m => MonadCont m where |
a monad that has call with current continuation | | Methods | callCC :: ((a -> m b) -> m a) -> m a | call with current continuation |
| | Instances | |
|
|
class MonadCont m => HasContinuations p m | m -> p where |
| Methods | useContinuation :: p -> m a | | withContinuation :: ((a -> p) -> m a) -> m a |
| | Instances | |
|
|
class MonadCont m => MonadExit q m | m -> q where |
| Methods | exitTo :: forall a . q -> m a |
| | Instances | |
|
|
exitWith :: (HasReturn n, MonadExit (n r) m) => r -> m a |
|
exit :: (HasReturn n, MonadExit (n ()) m) => m a |
|
Produced by Haddock version 0.6 |