Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Unlifted System.Environment.
Since: unliftio-0.2.5.0
Synopsis
- getArgs :: MonadIO m => m [String]
- getProgName :: MonadIO m => m String
- getExecutablePath :: MonadIO m => m FilePath
- getEnv :: MonadIO m => String -> m String
- lookupEnv :: MonadIO m => String -> m (Maybe String)
- setEnv :: MonadIO m => String -> String -> m ()
- unsetEnv :: MonadIO m => String -> m ()
- withArgs :: MonadUnliftIO m => [String] -> m a -> m a
- withProgName :: MonadUnliftIO m => String -> m a -> m a
- getEnvironment :: MonadIO m => m [(String, String)]
Documentation
getProgName :: MonadIO m => m String Source #
Lifted getProgName
.
Since: unliftio-0.2.5.0
getExecutablePath :: MonadIO m => m FilePath Source #
Lifted getExecutablePath
.
Since: unliftio-0.2.5.0
lookupEnv :: MonadIO m => String -> m (Maybe String) Source #
Lifted lookupEnv
.
Since: unliftio-0.2.5.0
withArgs :: MonadUnliftIO m => [String] -> m a -> m a Source #
Unlifted withArgs
.
Since: unliftio-0.2.5.0
withProgName :: MonadUnliftIO m => String -> m a -> m a Source #
Unlifted withProgName
.
Since: unliftio-0.2.5.0
getEnvironment :: MonadIO m => m [(String, String)] Source #
Lifted getEnvironment
.
Since: unliftio-0.2.5.0