We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 414bd0e commit 72448b3Copy full SHA for 72448b3
Data/Map/Base.hs
@@ -1689,7 +1689,7 @@ mapWithKey f (Bin sx kx x l r) = Bin sx kx (f kx x) (mapWithKey f l) (mapWithKey
1689
#endif
1690
1691
-- | /O(n)/.
1692
--- @'traverseWithKey' f s == 'fromList' <$> 'traverse' (\(k, v) -> (,) k <$> f k v) ('toList' m)@
+-- @'traverseWithKey' f m == 'fromList' <$> 'traverse' (\(k, v) -> (,) k <$> f k v) ('toList' m)@
1693
-- That is, behaves exactly like a regular 'traverse' except that the traversing
1694
-- function also has access to the key associated with a value.
1695
--
0 commit comments