[Haskell-cafe] Re: Incremental array updates
Keith Sheppard
keithshep at gmail.com
Fri Feb 27 20:43:58 EST 2009
I'm still learning haskell, so I may be missing something pretty
obvious, but isn't this the kind of thing that the diff array types
were created for.
http://en.wikibooks.org/wiki/Haskell/Hierarchical_libraries/Arrays#DiffArray_.28module_Data.Array.Diff.29
-Keith
>On Thu, Feb 26, 2009 at 06:45:27PM +0000, Ross Paterson wrote:
>> Yes, bucketing problems like this are a common case that the standard
>> functions cannot handle. Perhaps the libraries need a canned solution.
>
>Stratch that -- as Bulat points out, accumArray is such a canned solution.
More information about the Haskell-Cafe
mailing list