Documentation

Lean.Data.NameTrie

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

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

        Equations
        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 σ
          Equations
          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 σ
            Equations
            Instances For
              @[inline]
              def Lean.NameTrie.forMatchingM {m : TypeType u_1} {β : Type u_2} [Monad m] (t : NameTrie β) (k : Name) (f : βm Unit) :
              Equations
              Instances For
                @[inline]
                def Lean.NameTrie.forM {m : TypeType u_1} {β : Type u_2} [Monad m] (t : NameTrie β) (f : βm Unit) :
                Equations
                Instances For
                  def Lean.NameTrie.matchingToArray {β : Type u_1} (t : NameTrie β) (k : Name) :
                  Equations
                  Instances For
                    def Lean.NameTrie.toArray {β : Type u_1} (t : NameTrie β) :
                    Equations
                    Instances For