writer-cps-exceptions-0.1.0.1: Control.Monad.Catch instances for the stricter CPS WriterT and RWST

Safe HaskellSafe
LanguageHaskell2010

Control.Monad.Trans.Writer.CPS.Exceptions

Contents

Orphan instances

(MonadThrow m, Monoid w) => MonadThrow (WriterT w m) Source # 
Instance details

Methods

throwM :: Exception e => e -> WriterT w m a #

(MonadCatch m, Monoid w) => MonadCatch (WriterT w m) Source # 
Instance details

Methods

catch :: Exception e => WriterT w m a -> (e -> WriterT w m a) -> WriterT w m a #

(MonadMask m, Monoid w) => MonadMask (WriterT w m) Source # 
Instance details

Methods

mask :: ((forall a. WriterT w m a -> WriterT w m a) -> WriterT w m b) -> WriterT w m b #

uninterruptibleMask :: ((forall a. WriterT w m a -> WriterT w m a) -> WriterT w m b) -> WriterT w m b #

generalBracket :: WriterT w m a -> (a -> ExitCase b -> WriterT w m c) -> (a -> WriterT w m b) -> WriterT w m (b, c) #