Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class Monad m => FailStack m where Source #
Instances
Monad m => FailStack (MaybeT m) Source # | |
FailStack m => FailStack (IdentityT m) Source # | |
FailStack m => FailStack (ExceptT e m) Source # | |
FailStack m => FailStack (ReaderT r m) Source # | |
FailStack m => FailStack (StateT s m) Source # | |
FailStack m => FailStack (StateT s m) Source # | |
(FailStack m, Monoid w) => FailStack (WriterT w m) Source # | |
(FailStack m, Monoid w) => FailStack (WriterT w m) Source # | |
(FailStack m, Monoid w) => FailStack (AccumT w m) Source # | |
(FailStack m, Monoid w) => FailStack (WriterT w m) Source # | |
FailStack m => FailStack (SelectT r m) Source # | |
FailStack m => FailStack (ContT r m) Source # | |
(FailStack m, Monoid w) => FailStack (RWST r w s m) Source # | |
(FailStack m, Monoid w) => FailStack (RWST r w s m) Source # | |
(FailStack m, Monoid w) => FailStack (RWST r w s m) Source # | |
type FailDepth n m = IteratePop n MaybeT m Source #
type FailConstraints n m = (KnownNat n, StackConstraints n MaybeT FailStack m) Source #
type MonadFailDepth n m = (FailConstraints n m, MonadFail (FailDepth n m)) Source #
depthFail :: forall n m a. FailConstraints n m => FailDepth n m a -> m a Source #