mzv-0.1.0.1: Implementation of the "Monads, Zippers and Views" (Schrijvers and Oliveira, ICFP'11)

Copyright(c) Andy Gill 2001, (c) Oregon Graduate Institute of Science and Technology, 2001
LicenseBSD-style (see the file libraries/base/LICENSE)
Maintainerlibraries@haskell.org
Stabilityexperimental
Portabilitynon-portable (multi-param classes, functional dependencies)
Safe HaskellSafe-Inferred
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 w, MonadReader r m, MonadWriter w m, MonadState s m) => MonadRWS r w s m | m -> r, m -> w, m -> s Source

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)