Skip to content

Commit

Permalink
chore: remove duplicate NameMap forIn instance (#1043)
Browse files Browse the repository at this point in the history
  • Loading branch information
kim-em authored Nov 13, 2024
1 parent eeb25d3 commit 44484f9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Batteries/Lean/NameMap.lean
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ We provide `NameMap.filter` and `NameMap.filterMap`.

namespace Lean.NameMap

instance : ForIn m (NameMap β) (Name × β) :=
inferInstanceAs <| ForIn m (RBMap Name β _) _

/--
`filter f m` returns the `NameMap` consisting of all
"`key`/`val`"-pairs in `m` where `f key val` returns `true`.
Expand Down

0 comments on commit 44484f9

Please sign in to comment.