From: Simon Marlow Date: Tue, 22 Jun 2010 12:11:31 +0000 (+0000) Subject: nit in docs for accumArray X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=2cf27b8981aec980350a291b90499916f1fbc8af;hp=62b5fe81ea1f398c4b8d1db5bd25759266f5d74d;p=ghc-base.git nit in docs for accumArray --- diff --git a/GHC/Arr.lhs b/GHC/Arr.lhs index 09c50cf..1b2f0bb 100644 --- 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@