Hoogle Search
Within LTS Haskell 24.16 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
base System.Environment Computation getEnv var returns the value of the environment variable var. For the inverse, the setEnv function can be used. This computation may fail with:
- isDoesNotExistError if the environment variable does not exist.
getEnv :: String -> IO (Maybe String)base System.Environment.Blank Similar to lookupEnv.
getEnv :: OsString -> IO (Maybe OsString)process System.Process.Environment.OsString getEnv :: String -> IO (Maybe String)unix System.Posix.Env getEnv looks up a variable in the environment.
getEnv :: ByteString -> IO (Maybe ByteString)unix System.Posix.Env.ByteString getEnv looks up a variable in the environment.
getEnv :: PosixString -> IO (Maybe PosixString)unix System.Posix.Env.PosixString getEnv looks up a variable in the environment.
getEnv :: MonadIO m => String -> m Stringunliftio UnliftIO.Environment Lifted getEnv.
-
base-compat System.Environment.Compat Computation getEnv var returns the value of the environment variable var. For the inverse, the setEnv function can be used. This computation may fail with:
- isDoesNotExistError if the environment variable does not exist.
-
ghc GHC.Data.IOEnv No documentation available.
-
ghc GHC.StgToCmm.ExtCode Get the current environment from the monad.
Page 1 of many | Next