toml-parser-1.0.0.0: TOML 1.0.0 parser
Copyright(c) Eric Mertens 2023
LicenseISC
Maintaineremertens@gmail.com
Safe HaskellSafe-Inferred
LanguageHaskell2010

Toml.Value

Description

This module provides the type for the semantics of a TOML file. All dotted keys are resolved in this representation. Each table is a Map with a single level of keys.

Synopsis

Documentation

data Value Source #

Semantic TOML value with all table assignments resolved.

Instances

Instances details
Read Value Source # 
Instance details

Defined in Toml.Value

Show Value Source # 
Instance details

Defined in Toml.Value

Methods

showsPrec :: Int -> Value -> ShowS #

show :: Value -> String #

showList :: [Value] -> ShowS #

Eq Value Source # 
Instance details

Defined in Toml.Value

Methods

(==) :: Value -> Value -> Bool #

(/=) :: Value -> Value -> Bool #

FromValue Value Source # 
Instance details

Defined in Toml.FromValue

ToValue Value Source # 
Instance details

Defined in Toml.ToValue

type Table = Map String Value Source #

Representation of a TOML key-value table.