Skip to content

Commit c4fa391

Browse files
committed
Remove Hashable constraint
1 parent 78806a6 commit c4fa391

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Data/HashMap/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1784,7 +1784,7 @@ mapKeys f = fromList . foldrWithKey (\k x xs -> (f k, x) : xs) []
17841784

17851785
-- | \(O(n \log m)\) Difference of two maps. Return elements of the first map
17861786
-- not existing in the second.
1787-
difference :: (Eq k, Hashable k) => HashMap k v -> HashMap k w -> HashMap k v
1787+
difference :: Eq k => HashMap k v -> HashMap k w -> HashMap k v
17881788
difference = go 0
17891789
where
17901790
go !_s Empty !_ = Empty

0 commit comments

Comments
 (0)