Skip to content

Commit 1df8f59

Browse files
committed
Address more review comments.
1 parent 1c62652 commit 1df8f59

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

Data/HashSet.hs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ Portability : portable
1414
1515
= Introduction
1616
17-
'HashSet' allows you to store /unique/ elements, providing efficient
18-
insertion, lookups, and deletion. If you are storing sets of @Int@s consider
19-
using the @Data.IntSet@ from the
20-
<https://hackage.haskell.org/packages/containers containers> package.
21-
A 'HashSet' makes no guarantees as to the order of its elements.
17+
'HashSet' allows you to store /unique/ elements, providing efficient insertion,
18+
lookups, and deletion. A 'HashSet' makes no guarantees as to the order of its
19+
elements.
20+
21+
If you are storing sets of @Int@s consider using the @Data.IntSet@ from the
22+
<https://hackage.haskell.org/package/containers containers> package.
23+
2224
2325
== Examples
2426
@@ -60,7 +62,7 @@ fromList ["Map","HashSet","Graph","HashMap","Set","Sequence"]
6062
6163
To create a @HashSet@ of your custom type, the type must have instances for 'Eq' and
6264
'Hashable'. The 'Hashable' typeclass is defined in the
63-
<https://hackage.haskell.org/packages/hashable hashable> package and the
65+
<https://hackage.haskell.org/package/hashable hashable> package and the
6466
recommended way to define the instance is using generics, for which you'll need
6567
the @DeriveGeneric@ GHC extension.
6668

0 commit comments

Comments
 (0)