Skip to content

Commit 72448b3

Browse files
committed
typo in the doc for Data.Map.Base
1 parent 414bd0e commit 72448b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Data/Map/Base.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1689,7 +1689,7 @@ mapWithKey f (Bin sx kx x l r) = Bin sx kx (f kx x) (mapWithKey f l) (mapWithKey
16891689
#endif
16901690

16911691
-- | /O(n)/.
1692-
-- @'traverseWithKey' f s == 'fromList' <$> 'traverse' (\(k, v) -> (,) k <$> f k v) ('toList' m)@
1692+
-- @'traverseWithKey' f m == 'fromList' <$> 'traverse' (\(k, v) -> (,) k <$> f k v) ('toList' m)@
16931693
-- That is, behaves exactly like a regular 'traverse' except that the traversing
16941694
-- function also has access to the key associated with a value.
16951695
--

0 commit comments

Comments
 (0)