Skip to content

Commit bf9a27f

Browse files
Update Data/HashSet/Internal.hs
Co-authored-by: Simon Jakobi <simon.jakobi@gmail.com>
1 parent b3cdbd8 commit bf9a27f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Data/HashSet/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ difference (HashSet a) (HashSet b) = HashSet (H.difference a b)
391391
--
392392
-- >>> HashSet.intersection (HashSet.fromList [1,2,3]) (HashSet.fromList [2,3,4])
393393
-- fromList [2,3]
394-
intersection :: (Show a, Eq a, Hashable a) => HashSet a -> HashSet a -> HashSet a
394+
intersection :: (Eq a, Hashable a) => HashSet a -> HashSet a -> HashSet a
395395
intersection (HashSet a) (HashSet b) = HashSet (H.intersection a b)
396396
{-# INLINABLE intersection #-}
397397

0 commit comments

Comments
 (0)