File: .lake/packages/lean4/src/lean/lake/Lake/Toml/Encode.lean

full_name: Lake.ToToml
code: class ToToml (α : Type u) where
  toToml : α → Value
goal: Type u

full_name: Lake.ToToml.toToml
code: class ToToml (α : Type u) where
  toToml : α → Value
goal: α → Lake.Toml.Value

full_name: Lake.instToTomlValue
code: instance : ToToml Value 
goal: Lake.ToToml Lake.Toml.Value

full_name: Lake.instToTomlString
code: instance : ToToml String 
goal: Lake.ToToml String

full_name: Lake.instToTomlFilePath
code: instance : ToToml FilePath 
goal: Lake.ToToml System.FilePath

full_name: Lake.instToTomlName
code: instance : ToToml Name 
goal: Lake.ToToml Lean.Name

full_name: Lake.instToTomlInt
code: instance : ToToml Int 
goal: Lake.ToToml Int

full_name: Lake.instToTomlNat
code: instance : ToToml Nat 
goal: Lake.ToToml Nat

full_name: Lake.instToTomlFloat
code: instance : ToToml Float 
goal: Lake.ToToml Float

full_name: Lake.instToTomlBool
code: instance : ToToml Bool 
goal: Lake.ToToml Bool

full_name: Lake.instToTomlArray
code: instance [ToToml α] : ToToml (Array α) 
goal: Lake.ToToml (Array α)

full_name: Lake.instToTomlTable
code: instance : ToToml Table 
goal: Lake.ToToml Lake.Toml.Table

full_name: Lake.SmartInsert.smartInsert
code: /-- Insert a value into a table unless it represents a nullish value. -/
class SmartInsert (α : Type u) where
  smartInsert (k : Name) : α → Table → Table
goal: α → Lake.Toml.Table → Lake.Toml.Table

full_name: Lake.SmartInsert
code: /-- Insert a value into a table unless it represents a nullish value. -/
class SmartInsert (α : Type u) where
  smartInsert (k : Name) : α → Table → Table
goal: Type u

full_name: Lake.Toml.Table.insert
code: /-- Inserts the encoded value into the table. -/
@[inline] nonrec def insert [enc : ToToml α] (k : Name) (v : α) (t : Table) : Table 
goal: Lake.Toml.Table

full_name: Lake.Toml.Table.insertSome
code: /-- If the value is not `none`, inserts the encoded value into the table. -/
@[inline] nonrec def insertSome [enc : ToToml α] (k : Name) (v? : Option α) (t : Table) : Table 
goal: Lake.Toml.Table

full_name: Lake.Toml.Table.instSmartInsertOptionOfToToml
code: instance [ToToml α] : SmartInsert (Option α) 
goal: Lake.SmartInsert (Option α)

full_name: Lake.Toml.Table.smartInsert
code: /-- Insert a value into the table unless it represents a nullish value. -/
@[inline] nonrec def smartInsert [SmartInsert α] (k : Name) (v : α) (t : Table) : Table 
goal: Lake.Toml.Table

full_name: Lake.Toml.Table.instSmartInsert
code: instance : SmartInsert Table 
goal: Lake.SmartInsert Lake.Toml.Table

full_name: Lake.Toml.Table.instSmartInsertArrayOfToToml
code: instance [ToToml (Array α)] : SmartInsert (Array α) 
goal: Lake.SmartInsert (Array α)

full_name: Lake.Toml.Table.instSmartInsertString
code: instance : SmartInsert String  
goal: Lake.SmartInsert String

full_name: Lake.Toml.Table.insertIf
code: /-- Insert a value into the table if `p` is `true`. -/
@[inline] nonrec def insertIf [enc : ToToml α] (p : Bool) (k : Name) (v : α) (t : Table) : Table 
goal: Lake.Toml.Table

full_name: Lake.Toml.Table.insertUnless
code: /-- Insert a value into the table if `p` is `false`. -/
@[inline] nonrec def insertUnless [enc : ToToml α] (p : Bool) (k : Name) (v : α) (t : Table) : Table 
goal: Lake.Toml.Table

full_name: Lake.Toml.Table.insertD
code: /-- Inserts the value into the table if it is not equal to `default`. -/
@[inline] def insertD [enc : ToToml α] [BEq α] (k : Name) (v : α) (default : α) (t : Table) : Table 
goal: Lake.Toml.Table