Copyright | (c) 2018-2022 Kowainik |
---|---|
License | MPL-2.0 |
Maintainer | Kowainik <xrom.xkov@gmail.com> |
Stability | Stable |
Portability | Portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Core types for TOML AST.
Synopsis
- module Toml.Type.TOML
- module Toml.Type.Printer
- module Toml.Type.PrefixTree
- module Toml.Type.Key
- module Toml.Type.UValue
- module Toml.Type.Value
- module Toml.Type.AnyValue
Documentation
Main TOML AST data type. Text is converted to TOML
first. All codecs
work with the TOML
type instead of raw text.
module Toml.Type.TOML
Pretty-printer for TOML
.
module Toml.Type.Printer
PrefixMap
and PrefixTree
types that help representing TOML
AST.
module Toml.Type.PrefixTree
module Toml.Type.Key
Untyped value obtained directly from parsing.
module Toml.Type.UValue
module Toml.Type.Value
Existential wrapper around Value
to be able to store Value
s of
different types inside lists or other containers like
Map
or HashMap
.
module Toml.Type.AnyValue