machinecell-1.3.1: Arrow based stream transducers

Safe HaskellNone
LanguageHaskell2010

Control.Arrow.Machine.Exception

Documentation

catch :: Monad m => PlanT i o m a -> PlanT i o m a -> PlanT i o m a Source

handle :: Monad m => PlanT i o m a -> PlanT i o m a -> PlanT i o m a Source

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

bracket_ :: Monad m => PlanT i o m a -> PlanT i o m b -> PlanT i o m c -> PlanT i o m c Source

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 Source

finally :: Monad m => PlanT i o m a -> PlanT i o m b -> PlanT i o m a Source

onException :: Monad m => PlanT i o m a -> PlanT i o m b -> PlanT i o m a Source