Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Unlifted System.Environment.
Since: 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: 0.2.5.0
getExecutablePath :: MonadIO m => m FilePath Source #
Lifted getExecutablePath
.
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