multistate-0.7.1.1: like mtl's ReaderT / WriterT / StateT, but more than one contained value/type.

Safe HaskellSafe
LanguageHaskell2010

Control.Monad.Trans.MultiReader.Class

Contents

Description

The multi-valued version of mtl's MonadReader

Synopsis

MonadMultiReader class

class Monad m => MonadMultiReader a m where Source

All methods must be defined.

The idea is: Any monad stack is instance of MonadMultiReader a, iff the stack contains a MultiReaderT x with a element of x.

Methods

mAsk Source

Arguments

:: m a

Access to a specific type in the environment.