tomland-1.3.3.3: Bidirectional TOML serialization
Copyright(c) 2018-2022 Kowainik
LicenseMPL-2.0
MaintainerKowainik <xrom.xkov@gmail.com>
StabilityStable
PortabilityPortable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Toml.Parser.Value

Description

Parser for UValue.

Synopsis

Documentation

arrayP :: Parser [UValue] Source #

Parser for array of values. This parser tries to parse first element of array, pattern-matches on this element and uses parser according to this first element. This allows to prevent parsing of heterogeneous arrays.

boolP :: Parser Bool Source #

Parser for Bool value.

dateTimeP :: Parser UValue Source #

Parser for datetime values.

doubleP :: Parser Double Source #

Parser for Double value.

integerP :: Parser Integer Source #

Parser for Integer value.

anyValueP :: Parser AnyValue Source #

Uses valueP and typechecks it.