Skip to content

Commit 497e6a4

Browse files
author
Johannes Waldmann
committed
fix typo in documentation
1 parent 8f206a5 commit 497e6a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Data/Map/Strict.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ intersectionWithKey f t1 t2 = mergeWithKey (\k x1 x2 -> Just $ f k x1 x2) (const
819819
-- > myIntersectionWithKey f m1 m2 = mergeWithKey (\k x1 x2 -> Just (f k x1 x2)) (const empty) (const empty) m1 m2
820820
--
821821
-- When calling @'mergeWithKey' combine only1 only2@, a function combining two
822-
-- 'IntMap's is created, such that
822+
-- 'Map's is created, such that
823823
--
824824
-- * if a key is present in both maps, it is passed with both corresponding
825825
-- values to the @combine@ function. Depending on the result, the key is either

0 commit comments

Comments
 (0)