base-compat-0.2.0.2: A compatibility layer for base

Safe HaskellSafe-Inferred

System.Environment

Synopsis

Documentation

lookupEnv :: String -> IO (Maybe String)

Return the value of the environment variable var, or Nothing if there is no such value.

For POSIX users, this is equivalent to getEnv.