> I'm currently in a situation where my program runs easily out of
> stack. Depending on the input, stack usage often exceeds 10Mb.
I have better than 75% success locating the source of these bugs with the
following command:
grep '+1' *.hs *.lhs
Reason: Lazy arithmetic can easily cause you
> I'm currently in a situation where my program runs easily out of
> stack. Depending on the input, stack usage often exceeds 10Mb.
>
> 1. Is there a way to profile stack usage, so that I can identify the
> culprit and deal with the problem at the root? Normal (time)
> profiling tells me how m
Hi all,
During my work on buddha (haskell debugger) I've had the need
to print arbitrary values from a running program.
Along the way I've written some code that works with GHC
to do this.
Just in case there are others who might benefit from this,
I've ripped some code out of buddha and made it
Hi again,
I'm currently in a situation where my program runs easily out of
stack. Depending on the input, stack usage often exceeds 10Mb.
1. Is there a way to profile stack usage, so that I can identify the
culprit and deal with the problem at the root? Normal (time)
profiling tells me how man