layers-0.1: Modular type class machinery for monad transformer stacks.

Safe HaskellNone

Control.Monad.Interface.RWS

Description

This module exports:

  1. The MonadRWS interface.
  2. The Control.Monad.Interface.Reader module.
  3. The Control.Monad.Interface.State module.
  4. The Control.Monad.Interface.Writer module.

Synopsis

Documentation

type MonadRWS r w s m = (MonadReader r m, MonadWriter w m, MonadState s m)Source

The MonadRWS interface is defined as a type synonym (using the ConstraintKinds extension) for the combination of MonadReader, MonadState and MonadWriter.