We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 611ffaa commit ee0a441Copy full SHA for ee0a441
Data/HashMap/Base.hs
@@ -511,8 +511,7 @@ unsafeInsertWith :: forall k v. (Eq k, Hashable k)
511
unsafeInsertWith f k0 v0 m0 = runST (go h0 k0 v0 0 m0)
512
where
513
h0 = hash k0
514
- go :: (Eq k, Hashable k) => Hash -> k -> v -> Shift -> HashMap k v
515
- -> ST s (HashMap k v)
+ go :: Hash -> k -> v -> Shift -> HashMap k v -> ST s (HashMap k v)
516
go !h !k x !_ Empty = return $! Leaf h (L k x)
517
go h k x s (Leaf hy l@(L ky y))
518
| hy == h = if ky == k
0 commit comments