11 Jun
2007
11 Jun
'07
6:12 p.m.
Jon Fairbairn <jon.fairbairn <at> cl.cam.ac.uk> writes:
The idea in Haskell is not to think of stepping through the array. Look at accumArray and ixmap.
Thanks for your answer. But I can't really see how the calc-function can be written more efficiently with accumArray or ixmap, perhaps you can write it as an example? -- Regards, H.