TOML Encoders #
This module contains definitions to assist in encoding Lean types into TOML data values.
@[instance_reducible, instance 10000]
@[instance_reducible, instance 100]
@[instance_reducible]
instance Lake.Toml.instSmartInsertArrayOfToToml {α : Type u_1} [ToToml (Array α)] :
SmartInsert (Array α)
@[instance_reducible]
instance Lake.Toml.Table.instSmartInsertOptionOfToToml {α : Type u_1} [ToToml α] :
SmartInsert (Option α)
@[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.