htoml-megaparsec-1.1.0.3: Parser for TOML files

Safe HaskellNone
LanguageHaskell2010

Text.Toml

Synopsis

Documentation

parseTomlDoc :: String -> Text -> Either TomlError Table Source #

Parse a Text that results in Either a TomlError containing the error message, or an internal representation of the document as a Table.

parseErrorPretty #

Arguments

:: (Ord t, ShowToken t, ShowErrorComponent e) 
=> ParseError t e

Parse error to render

-> String

Result of rendering

Pretty-print a ParseError. The rendered String always ends with a newline.

Since: 5.0.0