Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- parseConfigFile :: FilePath -> IO Config
- commentParser :: Parser ConfigItem
- itemParser :: Parser ConfigItem
- fallThroughItemParser :: Parser ConfigItem
- configItemsFolder :: Config -> ConfigItem -> Config
- data ConfigItem
- colorConfigToColor :: String -> Color
- intensityConfigToIntensity :: String -> ColorIntensity
- stringConfigToStringList :: String -> [String]
Documentation
fallThroughItemParser :: Parser ConfigItem Source #
Must not be able to process an empty string
This is mandated by the use of many
in configFileParser
Therefore the definition `manyTill anyChar eof` is invalid, thus using newline
configItemsFolder :: Config -> ConfigItem -> Config Source #
data ConfigItem Source #
colorConfigToColor :: String -> Color Source #
stringConfigToStringList :: String -> [String] Source #