unliftio-0.2.21.0: The MonadUnliftIO typeclass for unlifting monads to IO (batteries included)
Safe HaskellSafe-Inferred
LanguageHaskell2010

UnliftIO.Environment

Description

Unlifted System.Environment.

Since: 0.2.5.0

Synopsis

Documentation

getArgs :: MonadIO m => m [String] Source #

Lifted getArgs.

Since: 0.2.5.0

getProgName :: MonadIO m => m String Source #

Lifted getProgName.

Since: 0.2.5.0

getEnv :: MonadIO m => String -> m String Source #

Lifted getEnv.

Since: 0.2.5.0

lookupEnv :: MonadIO m => String -> m (Maybe String) Source #

Lifted lookupEnv.

Since: 0.2.5.0

setEnv :: MonadIO m => String -> String -> m () Source #

Lifted setEnv.

Since: 0.2.5.0

unsetEnv :: MonadIO m => String -> m () Source #

Lifted unsetEnv.

Since: 0.2.5.0

withArgs :: MonadUnliftIO m => [String] -> m a -> m a Source #

Unlifted withArgs.

Since: 0.2.5.0

withProgName :: MonadUnliftIO m => String -> m a -> m a Source #

Unlifted withProgName.

Since: 0.2.5.0

getEnvironment :: MonadIO m => m [(String, String)] Source #

Lifted getEnvironment.

Since: 0.2.5.0