[Haskell-cafe] Re: tail recursion ?

H. h._h._h._ at hotmail.com
Mon Jun 11 14:12:53 EDT 2007


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.



More information about the Haskell-Cafe mailing list