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.
2 parents 8f206a5 + 497e6a4 commit b263e4aCopy full SHA for b263e4a
Data/Map/Strict.hs
@@ -819,7 +819,7 @@ intersectionWithKey f t1 t2 = mergeWithKey (\k x1 x2 -> Just $ f k x1 x2) (const
819
-- > myIntersectionWithKey f m1 m2 = mergeWithKey (\k x1 x2 -> Just (f k x1 x2)) (const empty) (const empty) m1 m2
820
--
821
-- When calling @'mergeWithKey' combine only1 only2@, a function combining two
822
--- 'IntMap's is created, such that
+-- 'Map's is created, such that
823
824
-- * if a key is present in both maps, it is passed with both corresponding
825
-- values to the @combine@ function. Depending on the result, the key is either
0 commit comments