Skip to content

Commit ee0a441

Browse files
committed
Silence redundant constraint-warning
1 parent 611ffaa commit ee0a441

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Data/HashMap/Base.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,8 +511,7 @@ unsafeInsertWith :: forall k v. (Eq k, Hashable k)
511511
unsafeInsertWith f k0 v0 m0 = runST (go h0 k0 v0 0 m0)
512512
where
513513
h0 = hash k0
514-
go :: (Eq k, Hashable k) => Hash -> k -> v -> Shift -> HashMap k v
515-
-> ST s (HashMap k v)
514+
go :: Hash -> k -> v -> Shift -> HashMap k v -> ST s (HashMap k v)
516515
go !h !k x !_ Empty = return $! Leaf h (L k x)
517516
go h k x s (Leaf hy l@(L ky y))
518517
| hy == h = if ky == k

0 commit comments

Comments
 (0)