SConfig-0.2.0.0: A simple config library
Data.SConfig
Synopsis
readConfig :: String -> Config Source
Parse configuration
writeConfig :: Config -> String Source
Convert configuration to parseable string
getValue :: Key -> Map Key Value -> Maybe Value Source
Lookup values in a parsed configuration (alias of Map.lookup)
type Config = Map Key Value Source
Parsed configuration. Basically a Map String String
type Key = String Source
Config key, alias for String.
type Value = String Source
Config value, alias for String.