Safe Haskell | None |
---|---|
Language | Haskell2010 |
Parser of TOML language. Implemented with the help of megaparsec
package.
- newtype ParseException = ParseException Text
- parse :: Text -> Either ParseException TOML
- arrayP :: Parser [UValue]
- boolP :: Parser Bool
- doubleP :: Parser Double
- integerP :: Parser Integer
- keyP :: Parser Key
- keyValP :: Parser (Key, AnyValue)
- textP :: Parser Text
- tableHeaderP :: Parser (Key, TOML)
- tomlP :: Parser TOML
Documentation
newtype ParseException Source #
Pretty parse exception for parsing toml.
tableHeaderP :: Parser (Key, TOML) Source #