tomland-1.0.0: Bidirectional TOML serialization

Safe HaskellNone
LanguageHaskell2010

Toml.Parser.TOML

Description

Parser for TOML data type: keys, tables, array of tables. Uses value parsers from Toml.Parser.Value.

Synopsis

Documentation

keyP :: Parser Key Source #

Parser for Key: dot-separated list of Piece.

hasKeyP :: Parser (Key, Either AnyValue TOML) Source #

Parser for lines starting with 'key =', either values or inline tables.

tableP :: Parser (Key, TOML) Source #

Parser for a table.

tableArrayP :: Parser (Key, NonEmpty TOML) Source #

Parser for an array of tables.

inlineTableP :: Parser TOML Source #

Parser for inline tables.

tomlP :: Parser TOML Source #

Parser for a '.toml' file