import public Data.Time.Time
import public Data.SortedMapdata TomlFloat : Typedata TableType : Typedata ArrayType : Type0 Key : Typedata TomlValue : TypeData type for trees of TOML data.
TStr : String -> TomlValueA string literal
TBool : Bool -> TomlValueA boolean literal
TTime : AnyTime -> TomlValueA date-time literal
TInt : Integer -> TomlValueAn integer
TDbl : TomlFloat -> TomlValueA floating point number
TArr : ArrayType -> SnocList TomlValue -> TomlValueAn array of values
TTbl : TableType -> SortedMap String TomlValue -> TomlValueA table of key-value pairs
0 TomlTable : TypeCurrently, a TOML table is a list of pairs. This might be later
changed to some kind of dictionary.
data KeyType : Typerecord KeyToken : Type.key : KeyToken -> Stringkey : KeyToken -> String.tpe : KeyToken -> KeyTypetpe : KeyToken -> KeyType.bounds : KeyToken -> Boundsbounds : KeyToken -> Boundsdata TomlToken : TypeType of TOML lexemes
TKey : List1 KeyToken -> TomlTokenA path of dot-separated keys
TVal : TomlValue -> TomlTokenA (literal) value
TSym : String -> TomlTokenA single or multi-character symbol like "[", "[[" or "."
NL : TomlTokenWhitespace containing at least one line break
Space : TomlTokenWhitespace without line breaks (tabs and spaces)
Comment : TomlTokenA line comment
key1 : KeyToken -> TomlTokeninterpolateKey : List KeyToken -> Stringdata TomlParseError : TypeValueExists : List KeyToken -> TomlParseErrorInlineTableExists : List KeyToken -> TomlParseErrorTableExists : List KeyToken -> TomlParseErrorStaticArray : List KeyToken -> TomlParseErrorExpectedKey : TomlParseErrorEq TomlParseErrorInterpolation TomlParseErrorShow TomlParseError0 TomlErr : TypeError type when lexing and parsing TOML files