Safe Haskell | Safe-Inferred |
---|
Control.Monad.Env
Description
Abstraction of environment functions (could be state, could be reader, whatever). Intended to ease migration from Reader/State.
Documentation
env :: MonadReader env m => (env -> val) -> m valSource