Skip to content

Commit

Permalink
Added docstring that went missing during merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jt0202 committed Jan 14, 2025
1 parent 317b351 commit b521a65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Std/Data/DHashMap/Internal/List/Associative.lean
Original file line number Diff line number Diff line change
Expand Up @@ -2695,6 +2695,7 @@ theorem getValue?_insertListIfNewUnit [BEq α] [PartialEquivBEq α]

end

/-- Internal implementation detail of the hash map -/
def alterKey [BEq α] [LawfulBEq α] (k : α) (f : Option (β k) → Option (β k))
(l : List ((a : α) × β a)) : List ((a : α) × β a) :=
match f (getValueCast? k l) with
Expand Down

0 comments on commit b521a65

Please sign in to comment.