| mtl-1.1.0.0: Monad transformer library | Contents | Index

Control.Monad.RWS.Class |

Portability | non-portable (multi-param classes, functional dependencies)
Stability | experimental
Maintainer | libraries@haskell.org

Description
Declaration of the MonadRWS class. Inspired by the paper Functional Programming with Overloading and Higher-Order Polymorphism, Mark P Jones (http://www.cse.ogi.edu/~mpj/) Advanced School of Functional Programming, 1995.
Documentation
class (Monoid w, MonadReader r m, MonadWriter w m, MonadState s m) => MonadRWS r w s m | m -> r, m -> w, m -> s

Instances

(Error e, MonadRWS r w s m) => MonadRWS r w s (ErrorT e m)
Monoid w => MonadRWS r w s (RWS r w s)
Monoid w => MonadRWS r w s (RWS r w s)
(Monoid w, Monad m) => MonadRWS r w s (RWST r w s m)
(Monoid w, Monad m) => MonadRWS r w s (RWST r w s m)

module Control.Monad.Reader.Class
module Control.Monad.State.Class
module Control.Monad.Writer.Class
Produced by Haddock version 0.8