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.