Skip to content

Commit 333ccb3

Browse files
authored
Improve language in haddocks for Data.HashMap.compose (#500)
Mirroring haskell/containers#1143
1 parent 0971ad5 commit 333ccb3

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
@@ -1731,9 +1731,8 @@ unions = List.foldl' union empty
17311731
------------------------------------------------------------------------
17321732
-- * Compose
17331733

1734-
-- | Relate the keys of one map to the values of
1735-
-- the other, by using the values of the former as keys for lookups
1736-
-- in the latter.
1734+
-- | Given maps @bc@ and @ab@, relate the keys of @ab@ to the values of @bc@,
1735+
-- by using the values of @ab@ as keys for lookups in @bc@.
17371736
--
17381737
-- Complexity: \( O (n * \log(m)) \), where \(m\) is the size of the first argument
17391738
--

0 commit comments

Comments
 (0)