Compare two Key
s. The ordering is total but otherwise arbitrary. (It uses
Name.quickCmp
internally.)
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Meta.DiscrTree.Key.instOrdKey = { compare := Lean.Meta.DiscrTree.Key.cmp }
Merge two Trie
s. Duplicate values are preserved.
partial def
Lean.Meta.DiscrTree.Trie.mergePreservingDuplicates.mergeChildren
{α : Type}
(cs₁ : Array (Lean.Meta.DiscrTree.Key × Lean.Meta.DiscrTree.Trie α))
(cs₂ : Array (Lean.Meta.DiscrTree.Key × Lean.Meta.DiscrTree.Trie α))
:
Auxiliary definition for mergePreservingDuplicates
.
@[inline]
def
Lean.Meta.DiscrTree.mergePreservingDuplicates
{α : Type}
(t : Lean.Meta.DiscrTree α)
(u : Lean.Meta.DiscrTree α)
:
Merge two DiscrTree
s. Duplicate values are preserved.
Equations
- One or more equations did not get rendered due to their size.