
On Fri, Jan 07, 2005 at 08:49:32AM -0500, Paul Hudak wrote:
I taught our FP class this fall using Hugs, but in the end wish that I had used GHC. There are lots of little reasons for this, but a big one was a problem with unpredictable space utilization. I don't have the examples at my fingertips, but there were simple variations of the same program that, by all common-sense reasoning, should have behaved in the opposite way with respect to space than what they exhibited.
Concrete examples would be interesting, especially if they didn't involve the graphic library.
Indeed, the problem that you report in your "Sierpinkski Carpet" may likely be a problem with Hugs, and not the graphics lib, and Jacob Nelson's message seems to bear this out.
No: it runs under GHCi, but it uses 16MB. Hugs has a 2MB heap by default (the size is measured in 8-byte cells).