Documentation

Lean.Data.NameTrie

inductive Lean.NamePart :
Instances For
    @[implicit_reducible]
    Instances For
      def Lean.NameTrie (β : Type u) :
      Instances For
        def Lean.NameTrie.insert {β : Type u_1} (t : NameTrie β) (n : Name) (b : β) :
        Instances For
          def Lean.NameTrie.empty {β : Type u_1} :
          Instances For
            @[implicit_reducible]
            @[implicit_reducible]
            def Lean.NameTrie.find? {β : Type u_1} (t : NameTrie β) (k : Name) :
            Instances For
              @[inline]
              def Lean.NameTrie.findLongestPrefix? {β : Type u_1} (t : NameTrie β) (k : Name) :

              Returns the value of the longest key in t that is a prefix of k, if any.

              Instances For
                @[inline]
                def Lean.NameTrie.foldMatchingM {m : Type u_1 → Type u_2} {β : Type u_3} {σ : Type u_1} [Monad m] (t : NameTrie β) (k : Name) (init : σ) (f : βσm σ) :
                m σ
                Instances For
                  @[inline]
                  def Lean.NameTrie.foldM {m : Type u_1 → Type u_2} {β : Type u_3} {σ : Type u_1} [Monad m] (t : NameTrie β) (init : σ) (f : βσm σ) :
                  m σ
                  Instances For
                    @[inline]
                    def Lean.NameTrie.forMatchingM {m : TypeType u_1} {β : Type u_2} [Monad m] (t : NameTrie β) (k : Name) (f : βm Unit) :
                    Instances For
                      @[inline]
                      def Lean.NameTrie.forM {m : TypeType u_1} {β : Type u_2} [Monad m] (t : NameTrie β) (f : βm Unit) :
                      Instances For
                        def Lean.NameTrie.matchingToArray {β : Type u_1} (t : NameTrie β) (k : Name) :
                        Instances For
                          def Lean.NameTrie.toArray {β : Type u_1} (t : NameTrie β) :
                          Instances For