multistate-0.7.1.2: like mtl's ReaderT / WriterT / StateT, but more than one contained value/type.

Safe HaskellSafe
LanguageHaskell2010

Control.Monad.Trans.MultiWriter.Class

Contents

Description

The multi-valued version of mtl's MonadWriter

Synopsis

MonadMultiWriter class

class (Monad m, Monoid a) => MonadMultiWriter a m where #

Minimal complete definition

mTell

Methods

mTell :: a -> m () #

Instances

(MonadTrans t, Monad (t m), MonadMultiWriter a m) => MonadMultiWriter a (t m) # 

Methods

mTell :: a -> t m () #

(Monad m, ContainsType a c, Monoid a) => MonadMultiWriter a (MultiWriterT c m) # 

Methods

mTell :: a -> MultiWriterT c m () #

(Monad m, ContainsType a c, Monoid a) => MonadMultiWriter a (MultiWriterT c m) # 

Methods

mTell :: a -> MultiWriterT c m () #

(Monad m, ContainsType a w, Monoid a) => MonadMultiWriter a (MultiRWST r w s m) # 

Methods

mTell :: a -> MultiRWST r w s m () #

(Monad m, ContainsType a w, Monoid a) => MonadMultiWriter a (MultiRWST r w s m) # 

Methods

mTell :: a -> MultiRWST r w s m () #