TOML Encoders #
This module contains definitions to assist in encoding Lean types into TOML data values.
@[instance 10000]
Equations
@[instance 100]
Equations
instance
Lake.Toml.instSmartInsertArrayOfToToml
{α : Type u_1}
[ToToml (Array α)]
:
SmartInsert (Array α)
Equations
instance
Lake.Toml.Table.instSmartInsertOptionOfToToml
{α : Type u_1}
[ToToml α]
:
SmartInsert (Option α)
Equations
@[inline]
def
Lake.Toml.Table.smartInsert
{α : Type u_1}
[SmartInsert α]
(k : Lean.Name)
(v : α)
(t : Table)
:
Insert a value into the table unless it represents a nullish value.