HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduletomland-1.3.3.3Haskell2010

Toml.Parser.Item

SPDX-License-Identifier : MPL-2.0 Maintainer : Kowainik xrom.xkov@gmail.com Stability : Stable Portability : Portable

This module contains the definition of the TomlItem data type which represents either key-value pair or table name. This data type serves the purpose to be the intermediate representation of parsing a TOML file which will be assembled to TOML AST later.

  • 2 types
  • 3 values
  • Packagetomland-1.3.3.3
  • Exports5
  • LanguageHaskell2010
  • LicenceMPL-2.0
  • SourceItem.hs
newtypenewtype Table
#

Table that contains only key = val pairs.

Constructors

Instances2Eq, Show
  • Eq TableDefined in tomland-1.3.3.3 · Toml.Parser.Item
  • Show TableDefined in tomland-1.3.3.3 · Toml.Parser.Item
valuekeyValP :: Parser TomlItem
#

parser for "key = val" pairs; can be one of three forms:

  1. key = { ... }

  2. key = [ {...}, {...}, ... ]

  3. key = ...