Safe Haskell | Trustworthy |
---|---|
Language | Haskell98 |
Control.Eff.Reader.Lazy
Description
Lazy read-only state
Documentation
The request for a value of type e from the current environment. This environment is analogous to a parameter of type e.
Constructors
Reader (e -> v) |
local :: (Typeable e, Member (Reader e) r) => (e -> e) -> Eff r a -> Eff r a Source
Locally rebind the value in the dynamic environment. This function both requests and admins Reader requests.