[commit: packages/containers] changelog-foldtree, cleaned_bugfix394, master, merge-doc-target, merge-fixes-5.9, merge-restrict-fix-5.8, revert-184-generic, revert-408-bugfix_394: fix typo in documentation (497e6a4)

git at git.haskell.org git at git.haskell.org
Mon Apr 17 21:39:10 UTC 2017


Repository : ssh://git@git.haskell.org/containers

On branches: changelog-foldtree,cleaned_bugfix394,master,merge-doc-target,merge-fixes-5.9,merge-restrict-fix-5.8,revert-184-generic,revert-408-bugfix_394
Link       : http://git.haskell.org/packages/containers.git/commitdiff/497e6a405b45da548e94bf184ef5a85523c6f4b8

>---------------------------------------------------------------

commit 497e6a405b45da548e94bf184ef5a85523c6f4b8
Author: Johannes Waldmann <@>
Date:   Wed Feb 10 23:46:56 2016 +0100

    fix typo in documentation


>---------------------------------------------------------------

497e6a405b45da548e94bf184ef5a85523c6f4b8
 Data/Map/Strict.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Data/Map/Strict.hs b/Data/Map/Strict.hs
index 623b1df..1b8816f 100644
--- a/Data/Map/Strict.hs
+++ b/Data/Map/Strict.hs
@@ -819,7 +819,7 @@ intersectionWithKey f t1 t2 = mergeWithKey (\k x1 x2 -> Just $ f k x1 x2) (const
 -- > myIntersectionWithKey f m1 m2 = mergeWithKey (\k x1 x2 -> Just (f k x1 x2)) (const empty) (const empty) m1 m2
 --
 -- When calling @'mergeWithKey' combine only1 only2@, a function combining two
--- 'IntMap's is created, such that
+-- 'Map's is created, such that
 --
 -- * if a key is present in both maps, it is passed with both corresponding
 --   values to the @combine@ function. Depending on the result, the key is either



More information about the ghc-commits mailing list