Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
This module provides the familiar reader effect.
newtype Reader w a
The functor representing the effect. You shouldn't need
to create this manually, just use ask
or reader
Reader (w -> a) |
readerHandler :: w -> Handler (Reader w) r a a
The obvious handler that just embeds the value provided.