Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class Monad m => ErrorStack m where Source #
Instances
ErrorStack m => ErrorStack (MaybeT m) Source # | |
ErrorStack m => ErrorStack (IdentityT m) Source # | |
Monad m => ErrorStack (ExceptT e m) Source # | |
ErrorStack m => ErrorStack (ReaderT r m) Source # | |
ErrorStack m => ErrorStack (StateT s m) Source # | |
ErrorStack m => ErrorStack (StateT s m) Source # | |
(ErrorStack m, Monoid w) => ErrorStack (WriterT w m) Source # | |
(ErrorStack m, Monoid w) => ErrorStack (WriterT w m) Source # | |
(ErrorStack m, Monoid w) => ErrorStack (AccumT w m) Source # | |
(ErrorStack m, Monoid w) => ErrorStack (WriterT w m) Source # | |
ErrorStack m => ErrorStack (SelectT r m) Source # | |
ErrorStack m => ErrorStack (ContT r m) Source # | |
(ErrorStack m, Monoid w) => ErrorStack (RWST r w s m) Source # | |
(ErrorStack m, Monoid w) => ErrorStack (RWST r w s m) Source # | |
(ErrorStack m, Monoid w) => ErrorStack (RWST r w s m) Source # | |
type ErrorDepth n m = IteratePop n ExceptT m Source #
type ErrorConstraints n m = (KnownNat n, StackConstraints n ExceptT ErrorStack m) Source #
type MonadErrorDepth n m e = (ErrorConstraints n m, MonadError e (ErrorDepth n m)) Source #
depthError :: forall n m a. ErrorConstraints n m => ErrorDepth n m a -> m a Source #