
10 Jan
2008
10 Jan
'08
6:33 p.m.
On Jan 11, 2008 2:28 AM, Felipe Lessa
On Jan 10, 2008 9:20 PM, Luke Palmer
wrote: Ahh, it was ghc 6.8.1, without any optimization. If I turn on optimization, the behavior goes away, and they both behave like the const version.
That was what I suggested on the last line of my previous e-mail. As const is in Prelude, which probably was compiled with optimizations, it would explain the difference.
Optimization of const doesn't affect this program behavior. -- vir http://vir.comtv.ru/