checked-io-0.1.0.0: Checked IO exceptions
Safe HaskellSafe-Inferred
LanguageHaskell2010

CheckedIO.Environment

Description

A checked version of System.Environment

Synopsis

getEnv

lookupEnv

lookupEnvIO :: MonadRunIO m => String -> m (Maybe String) Source #

Same as lookupEnv, except in IO.

lookupEnvUIO :: MonadRunIOE e m => String -> m (Either EncodingError (Maybe String)) Source #

Look up the given environment variable.