Control.Monad.RWS.Class

mtl-2.2.2: Monad classes, using functional dependencies

Copyright | (c) Andy Gill 2001 (c) Oregon Graduate Institute of Science and Technology 2001
License | BSD-style (see the file LICENSE)
Maintainer | libraries@haskell.org
Stability | experimental
Portability | non-portable (multi-param classes, functional dependencies)
Safe Haskell | Safe
Language | Haskell2010

Control.Monad.RWS.Class

Description

Declaration of the MonadRWS class.

Inspired by the paper Functional Programming with Overloading and Higher-Order Polymorphism, Mark P Jones (http://web.cecs.pdx.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

MonadRWS r w s m => MonadRWS r w s (MaybeT m) # |
Instance details Defined in Control.Monad.RWS.Class
MonadRWS r w s m => MonadRWS r w s (IdentityT m) # |
Instance details Defined in Control.Monad.RWS.Class
(Error e, MonadRWS r w s m) => MonadRWS r w s (ErrorT e m) # |
Instance details Defined in Control.Monad.RWS.Class
MonadRWS r w s m => MonadRWS r w s (ExceptT e m) # | Since: mtl-2.2
Instance details Defined in Control.Monad.RWS.Class
(Monoid w, Monad m) => MonadRWS r w s (RWST r w s m) # |
Instance details Defined in Control.Monad.RWS.Class
(Monoid w, Monad m) => MonadRWS r w s (RWST r w s m) # |
Instance details Defined in Control.Monad.RWS.Class

module Control.Monad.Reader.Class

module Control.Monad.State.Class

module Control.Monad.Writer.Class