Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- catch :: Monad m => PlanT i o m a -> PlanT i o m a -> PlanT i o m a
- handle :: Monad m => PlanT i o m a -> PlanT i o m a -> PlanT i o m a
- bracket :: Monad m => PlanT i o m a -> (a -> PlanT i o m b) -> (a -> PlanT i o m c) -> PlanT i o m c
- bracket_ :: Monad m => PlanT i o m a -> PlanT i o m b -> PlanT i o m c -> PlanT i o m c
- bracketOnError :: Monad m => PlanT i o m a -> (a -> PlanT i o m b) -> (a -> PlanT i o m c) -> PlanT i o m c
- finally :: Monad m => PlanT i o m a -> PlanT i o m b -> PlanT i o m a
- onException :: Monad m => PlanT i o m a -> PlanT i o m b -> PlanT i o m a
Variations of catchP
This module provides variations of catchP.
If you use this module together with Control.Exception module of base package, import this package qualified.
bracket :: Monad m => PlanT i o m a -> (a -> PlanT i o m b) -> (a -> PlanT i o m c) -> PlanT i o m c Source #