Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- readConfigFile :: MonadIO m => Path a File -> m (HashMap String String)
- readConfigFileWithEnv :: MonadIO m => [(String, String)] -> Path a File -> m (HashMap String String)
- usingConfigFile :: MonadRules m => Path a File -> m ()
- usingConfig :: MonadRules m => HashMap String String -> m ()
- getConfig :: MonadAction m => String -> m (Maybe String)
- getConfigKeys :: MonadAction m => m [String]
Documentation
readConfigFile :: MonadIO m => Path a File -> m (HashMap String String) Source #
Lifted readConfigFile
with well-typed path.
readConfigFileWithEnv :: MonadIO m => [(String, String)] -> Path a File -> m (HashMap String String) Source #
Lifted readConfigFileWithEnv
with well-typed path.
usingConfigFile :: MonadRules m => Path a File -> m () Source #
Lifted usingConfigFile
with well-typed path.
usingConfig :: MonadRules m => HashMap String String -> m () Source #
Lifted usingConfig
.
getConfigKeys :: MonadAction m => m [String] Source #
Lifted getConfigKeys
.