Skip to content

Commit a4a3fe4

Browse files
committed
Improve language in haddocks for Data.HashMap.compose
1 parent 37eee22 commit a4a3fe4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Data/HashMap/Internal.hs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1726,9 +1726,8 @@ unions = List.foldl' union empty
17261726
------------------------------------------------------------------------
17271727
-- * Compose
17281728

1729-
-- | Relate the keys of one map to the values of
1730-
-- the other, by using the values of the former as keys for lookups
1731-
-- in the latter.
1729+
-- | Given maps @bc@ and @ab@, relate the keys of @ab@ to the values of @bc@,
1730+
-- by using the values of @ab@ as keys for lookups in @bc@.
17321731
--
17331732
-- Complexity: \( O (n * \log(m)) \), where \(m\) is the size of the first argument
17341733
--

0 commit comments

Comments
 (0)