MissingK-0.0.1: Useful types and definitions missing from other libraries

Safe HaskellSafe
LanguageHaskell98

System.Environment.SetEnv

Synopsis

Documentation

setEnv :: String -> String -> IO () Source #

The setEnv function inserts or resets the environment variable name in the current environment list. If the variable name does not exist in the list, it is inserted with the given value. If the variable does exist, the argument overwrite is tested; if overwrite is False, the variable is not reset, otherwise it is reset to the given value.