>> More importantly, understand how foldl' works and be ready to apply >> the same analysis and fix to any similar function.
> This is what I cannot do for the moment. How do I find out what is > really going on. Any pointers to a relevant articles/literature? Read the heap profiling papers from Chalmers, York and Glasgow - both because you probably want to use one and because their analyses of various leaks found with the profilers can be illuminating. http://www.math.chalmers.se/~augustss/AFP/overview.html http://www.math.chalmers.se/~rojemo/thesis.html http://research.microsoft.com/Users/simonpj/Papers/papers.html http://www.cs.york.ac.uk/fp/profile.html [York don't seem to put links to their pages on the web. Citeseer may have some of them.] You will probably end up learning some of what Haskell's syntactic sugar really means along the way. -- Alastair Reid [EMAIL PROTECTED] Reid Consulting (UK) Limited http://www.reid-consulting-uk.ltd.uk/alastair/ _______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell