htoml-megaparsec-1.0.1.6: Parser for TOML files
Text.Toml
Synopsis
parseTomlDoc :: String -> Text -> Either TomlError Table Source #
Parse a Text that results in Either a String containing the error message, or an internal representation of the document as a Table.
Text
Either
String
Table
checkTomlDoc :: String -> Text -> Either TomlError () Source #