Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Control.Monad.Trans.Has.Reader
Documentation
newtype ReaderT r (m :: Type -> Type) a #
The reader monad transformer, which adds a read-only environment to the given monad.
The return
function ignores the environment, while >>=
passes
the inherited environment to both subcomputations.
Constructors
ReaderT | |
Fields
|