Skip to content

Commit 3d207f4

Browse files
committed
Link to Eq and Ord typeclasses.
1 parent ede1b7b commit 3d207f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Data/HashSet.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ fromList ["Map","HashSet","Graph","HashMap","Set","Sequence"]
6060
6161
=== Using custom data with HashSet
6262
63-
To create a @HashSet@ of your custom type, the type must have instances for "Data.Eq"
64-
and "Data.Hashable". The @Hashable@ typeclass is defined in the
63+
To create a @HashSet@ of your custom type, the type must have instances for
64+
"Data.Eq.Eq" and "Data.Hashable". The @Hashable@ typeclass is defined in the
6565
<https://hackage.haskell.org/package/hashable hashable> package, see the
6666
documentation for information on how to make your type an instance of
6767
"Data.Hashable".
@@ -84,7 +84,7 @@ fromList [Person {name = "Simon", likesDogs = True},Person {name = "Lana", likes
8484
== Performance
8585
8686
The implementation is based on /hash array mapped tries/. A
87-
'HashSet' is often faster than other "Data.Ord"-based set types,
87+
'HashSet' is often faster than other "Data.Ord.Ord"-based set types,
8888
especially when value comparisons are expensive, as in the case of
8989
strings.
9090

0 commit comments

Comments
 (0)