[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: typo in the doc for Data.Map.Base (72448b3)

git at git.haskell.org git at git.haskell.org
Mon Apr 17 21:37:55 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/72448b3272fd758ea3613f984f192c6a99ec7982

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

commit 72448b3272fd758ea3613f984f192c6a99ec7982
Author: G. Allais <guillaume.allais at ens-lyon.org>
Date:   Thu Feb 19 21:29:53 2015 +0000

    typo in the doc for Data.Map.Base


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

72448b3272fd758ea3613f984f192c6a99ec7982
 Data/Map/Base.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Data/Map/Base.hs b/Data/Map/Base.hs
index 965a258..fccd6e0 100644
--- a/Data/Map/Base.hs
+++ b/Data/Map/Base.hs
@@ -1689,7 +1689,7 @@ mapWithKey f (Bin sx kx x l r) = Bin sx kx (f kx x) (mapWithKey f l) (mapWithKey
 #endif
 
 -- | /O(n)/.
--- @'traverseWithKey' f s == 'fromList' <$> 'traverse' (\(k, v) -> (,) k <$> f k v) ('toList' m)@
+-- @'traverseWithKey' f m == 'fromList' <$> 'traverse' (\(k, v) -> (,) k <$> f k v) ('toList' m)@
 -- That is, behaves exactly like a regular 'traverse' except that the traversing
 -- function also has access to the key associated with a value.
 --



More information about the ghc-commits mailing list