Supports conversion of TOML tables into record values using field selector names as TOML keys.
Methods
gParseTable :: ParseTable l (f a)Convert a value and apply the continuation to the result.
Instances6GParseTable
GParseTable U1Defined in toml-parser-2.0.0.0 · Toml.Schema.Generic.FromValueEmits empty table
GParseTable f => GParseTable (C1 ('MetaCons sym fix 'True) f)Defined in toml-parser-2.0.0.0 · Toml.Schema.Generic.FromValueIgnores value constructor name - only supports record constructors
GParseTable f => GParseTable (D1 c f)Defined in toml-parser-2.0.0.0 · Toml.Schema.Generic.FromValueIgnores type constructor name
(Selector s, FromValue a) => GParseTable (S1 s (K1 i (Maybe a)))Defined in toml-parser-2.0.0.0 · Toml.Schema.Generic.FromValueOmits the key from the table on nothing, includes it on just
(Selector s, FromValue a) => GParseTable (S1 s (K1 i a))Defined in toml-parser-2.0.0.0 · Toml.Schema.Generic.FromValueUses record selector name as table key
(GParseTable f, GParseTable g) => GParseTable (f :*: g)Defined in toml-parser-2.0.0.0 · Toml.Schema.Generic.FromValueMatches left then right component