This is an internal implementation file of the hash map. Users of the hash map should not rely on the contents of this file.
File contents: definitions on lists needed to state the well-formedness predicate
structure
Std.DHashMap.Internal.List.DistinctKeys
{α : Type u}
{β : α → Type v}
[BEq α]
(l : List ((a : α) × β a))
:
Internal implementation detail of the hash map
- distinct : List.Pairwise (fun (a b : α) => (a == b) = false) (Std.DHashMap.Internal.List.keys l)
Internal implementation detail of the hash map
Instances For
Internal implementation detail of the hash map
Equations
- Std.DHashMap.Internal.List.values [] = []
- Std.DHashMap.Internal.List.values (⟨fst, v⟩ :: l) = v :: Std.DHashMap.Internal.List.values l