
15 Dec
2006
15 Dec
'06
9:51 p.m.
Hello Felix, Thursday, December 14, 2006, 6:00:53 PM, you wrote:
The program isn't that well written so the overflow did not surprise me, I expected that it might run out of memory. What did surprise me was the *stack* overflow. I do not use recursion in my program except for a couple of fold operations over very large lists.
surprise: some fold variants are not tail recursive :)
3) I tried using +RTS -K<size> as suggested, but these options do not seem to be passed through if I use --make. How can I use both, these compilation flags and --make?
you should use it as argument to your compiled program. RTS means *run-time* system, after all :) -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com