Skip to content

Commit 32df5aa

Browse files
committed
Fix copy-paste typos.
1 parent 77e94c8 commit 32df5aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Data/Map/Base.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080

8181
-- [Note: Local 'go' functions and capturing]
8282
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
83-
-- As opposed to IntMap, when 'go' function captures an argument, increased
83+
-- As opposed to Map, when 'go' function captures an argument, increased
8484
-- heap-allocation can occur: sometimes in a polymorphic function, the 'go'
8585
-- floats out of its enclosing function and then it heap-allocates the
8686
-- dictionary and the argument. Maybe it floats out too late and strictness
@@ -1413,7 +1413,7 @@ intersectionWithKey f t1 t2 = mergeWithKey (\k x1 x2 -> Just $ f k x1 x2) (const
14131413
-- > myIntersectionWithKey f m1 m2 = mergeWithKey (\k x1 x2 -> Just (f k x1 x2)) (const empty) (const empty) m1 m2
14141414
--
14151415
-- When calling @'mergeWithKey' combine only1 only2@, a function combining two
1416-
-- 'IntMap's is created, such that
1416+
-- 'Map's is created, such that
14171417
--
14181418
-- * if a key is present in both maps, it is passed with both corresponding
14191419
-- values to the @combine@ function. Depending on the result, the key is either

0 commit comments

Comments
 (0)