liblawless-0.21.1: Prelude based on protolude for GHC 8 and beyond.

Copyright© 2017 All rights reserved.
LicenseGPL-3
MaintainerEvan Cofsky <evan@theunixman.com>
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Environment

Description

 

Synopsis

Documentation

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

args :: MonadIO m => m [Arg] Source #