monads-tf-0.1.0.3: Monad classes, using type families

Copyright(c) Andy Gill 2001, (c) Oregon Graduate Institute of Science and Technology, 2001
LicenseBSD-style (see the file LICENSE)
Maintainerross@soi.city.ac.uk
Stabilityexperimental
Portabilitynon-portable (type families)
Safe HaskellSafe
LanguageHaskell98

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 (WriterType m), MonadReader m, MonadWriter m, MonadState m) => MonadRWS m Source #

Instances

MonadRWS m => MonadRWS (MaybeT m) Source # 
MonadRWS m => MonadRWS (IdentityT * m) Source # 
(Error e, MonadRWS m) => MonadRWS (ErrorT e m) Source # 
(Monoid w, Monad m) => MonadRWS (RWST r w s m) Source # 
(Monoid w, Monad m) => MonadRWS (RWST r w s m) Source #