Copyright | © 2017 All rights reserved. |
---|---|
License | GPL-3 |
Maintainer | Evan Cofsky <evan@theunixman.com> |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
A key in the Environment
.
A value in the Environment
environment :: MonadIO m => Lens EnvName (m ()) (m (Maybe EnvValue)) EnvValue Source #
Lens
for the system environment.
lens ∷ Functor f => (s -> a) -> (s -> b -> t) -> (a -> f b) -> s -> f t
Lens s t a b = Functor f ⇒ (a → f b) → s → f t
lookupEnv
s → a: EnvName → m (Maybe EnvValue)
setEnv
s → b → t: EnvName → EnvValue → m ()
s: EnvName t: m () a: m (Maybe EnvValue) b: EnvValue