Hello Daniel, Thursday, February 26, 2009, 9:27:10 PM, you wrote:
> It was about this: I needed to generate "all possibilities" for some > combinations and each of those had a numeric property, say from 1 to > 10000; I then had to count how many of the possibilities were of a given > "category". So I created this array, generated all combinations, and > incremented the matching slot each time. it's histogram essentially? accumArray is doing so. internally, it's the same loop using STArray, but accumArray provide you pure API for such computations -- Best regards, Bulat mailto:[email protected] _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
