Documentation

Lean.Data.NameTrie

inductive Lean.NamePart :
Instances For
    Equations
    Equations
    • One or more equations did not get rendered due to their size.
    Equations
    • One or more equations did not get rendered due to their size.
    Equations
    • Lean.NameTrie.empty = Lean.PrefixTree.empty
    Equations
    • Lean.instInhabitedNameTrie = { default := Lean.NameTrie.empty }
    Equations
    • Lean.instEmptyCollectionNameTrie = { emptyCollection := Lean.NameTrie.empty }
    @[inline]
    def Lean.NameTrie.foldMatchingM {m : Type u_1 → Type u_2} {β : Type u_3} {σ : Type u_1} [inst : Monad m] (t : Lean.NameTrie β) (k : Lean.Name) (init : σ) (f : βσm σ) :
    m σ
    Equations
    @[inline]
    def Lean.NameTrie.foldM {m : Type u_1 → Type u_2} {β : Type u_3} {σ : Type u_1} [inst : Monad m] (t : Lean.NameTrie β) (init : σ) (f : βσm σ) :
    m σ
    Equations
    @[inline]
    def Lean.NameTrie.forMatchingM {m : TypeType u_1} {β : Type u_2} [inst : Monad m] (t : Lean.NameTrie β) (k : Lean.Name) (f : βm Unit) :
    Equations
    @[inline]
    def Lean.NameTrie.forM {m : TypeType u_1} {β : Type u_2} [inst : Monad m] (t : Lean.NameTrie β) (f : βm Unit) :
    Equations