Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class Monad m => WriterStack m where Source #
liftWriter :: PopWriter m a -> m a Source #
Instances
WriterStack m => WriterStack (MaybeT m) Source # | |
WriterStack m => WriterStack (IdentityT m) Source # | |
WriterStack m => WriterStack (ExceptT e m) Source # | |
WriterStack m => WriterStack (ReaderT r m) Source # | |
WriterStack m => WriterStack (StateT s m) Source # | |
WriterStack m => WriterStack (StateT s m) Source # | |
(Monad m, Monoid w) => WriterStack (WriterT w m) Source # | |
(WriterStack m, Monoid w) => WriterStack (WriterT w m) Source # | |
(WriterStack m, Monoid w) => WriterStack (AccumT w m) Source # | |
(Monad m, Monoid w) => WriterStack (WriterT w m) Source # | |
WriterStack m => WriterStack (SelectT r m) Source # | |
WriterStack m => WriterStack (ContT r m) Source # | |
(Monad m, Monoid w) => WriterStack (RWST r w s m) Source # | |
(Monad m, Monoid w) => WriterStack (RWST r w s m) Source # | |
(Monad m, Monoid w) => WriterStack (RWST r w s m) Source # | |
type WriterDepth n m = IteratePop n WriterT m Source #
type WriterConstraints n m = (KnownNat n, StackConstraints n WriterT WriterStack m) Source #
type MonadWriterDepth n m w = (WriterConstraints n m, MonadWriter w (WriterDepth n m)) Source #
depthWriter :: forall n m a. WriterConstraints n m => WriterDepth n m a -> m a Source #