|
Control.Monad.Reader.Class | Portability | non-portable (multi-param classes, functional dependencies) | Stability | experimental | Maintainer | libraries@haskell.org |
|
|
|
Description |
MonadReader class.
Inspired by the paper
Functional Programming with Overloading and
Higher-Order Polymorphism,
Mark P Jones (http://www.cse.ogi.edu/~mpj/)
Advanced School of Functional Programming, 1995.
|
|
|
Documentation |
|
class Monad m => MonadReader r m | m -> r where |
| Methods | ask :: m r | | local :: (r -> r) -> m a -> m a |
| | Instances | |
|
|
asks :: MonadReader r m => (r -> a) -> m a |
|
Produced by Haddock version 0.8 |