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
Documentation
parseConfigFile :: FilePath -> IO Config Source
commentParser :: Parser ConfigItem Source
itemParser :: Parser ConfigItem Source
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