projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62b5fe8
)
nit in docs for accumArray
author
Simon Marlow
<marlowsd@gmail.com>
Tue, 22 Jun 2010 12:11:31 +0000
(12:11 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Tue, 22 Jun 2010 12:11:31 +0000
(12:11 +0000)
GHC/Arr.lhs
patch
|
blob
|
history
diff --git
a/GHC/Arr.lhs
b/GHC/Arr.lhs
index
09c50cf
..
1b2f0bb
100644
(file)
--- a/
GHC/Arr.lhs
+++ b/
GHC/Arr.lhs
@@
-560,7
+560,7
@@
assocs :: Ix i => Array i e -> [(i, e)]
assocs arr@(Array l u _ _) =
[(i, arr ! i) | i <- range (l,u)]
--- | The 'accumArray' deals with repeated indices in the association
+-- | The 'accumArray' function deals with repeated indices in the association
-- list using an /accumulating function/ which combines the values of
-- associations with the same index.
-- For example, given a list of values of some index type, @hist@