dotenv-0.8.0.1: Loads environment variables from dotenv files

Safe HaskellSafe
LanguageHaskell2010

Configuration.Dotenv.Environment

Synopsis

Documentation

getEnvironment :: IO [(String, String)] #

getEnvironment retrieves the entire environment as a list of (key,value) pairs.

If an environment entry does not contain an '=' character, the key is the whole entry and the value is the empty string.

unsetEnv :: String -> IO () #

Like unsetEnv, but allows for the removal of blank environment variables. May throw an exception if the underlying platform doesn't support unsetting of environment variables.