Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class ConfigFormat a where Source #
readConfig :: TextParser a Source #
writeConfig :: CollectErrorsM m => a -> m [String] Source #
Instances
autoReadConfig :: (ConfigFormat a, ErrorContextM m) => String -> String -> m a Source #
autoWriteConfig :: (ConfigFormat a, CollectErrorsM m) => a -> m String Source #
parseList :: TextParser a -> TextParser [a] Source #
parseOptional :: String -> a -> TextParser a -> Permutation TextParser a Source #
parseRequired :: String -> TextParser a -> Permutation TextParser a Source #
structClose :: TextParser () Source #
structOpen :: TextParser () Source #