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

Copyright | (c) Andy Gill 2001 (c) Oregon Graduate Institute of Science and Technology 2001
License | BSD-style (see the file LICENSE)
Maintainer | ross@soi.city.ac.uk
Stability | experimental
Portability | non-portable (type families)
Safe Haskell | None
Language | GHC2021

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 :: Type -> Type) Source #

#### Instances

Instances details

MonadRWS m => MonadRWS (MaybeT m) Source # |
Instance details Defined in Control.Monad.RWS.Class
MonadRWS m => MonadRWS (ExceptT e m) Source # |
Instance details Defined in Control.Monad.RWS.Class
MonadRWS m => MonadRWS (IdentityT m) Source # |
Instance details Defined in Control.Monad.RWS.Class
(Monoid w, Monad m) => MonadRWS (RWST r w s m) Source # |
Instance details Defined in Control.Monad.RWS.Class
(Monoid w, Monad m) => MonadRWS (RWST r w s m) Source # |
Instance details Defined in Control.Monad.RWS.Class

module Control.Monad.Reader.Class

module Control.Monad.State.Class

module Control.Monad.Writer.Class