
9 Sep
2008
9 Sep
'08
10:22 p.m.
Justin Bailey wrote:
2008/9/9 Pieter Laeremans
: What 's the best equivalent haskell approach ? thanks in advance, Pieter
The preferred approach is to look at your code, figure out where you are using tail (or could be calling something that uses tail) and use the "trace" function to output logging info.
To find the specific tail call: http://haskell.org/ghc/docs/latest/html/users_guide/runtime-control.html#rts... check the description for option -xc Btw, is there any chance ghci debugger would ever print stack. It would be fine to see it in the same way as it exists when executing code ... I'm not interested in the stack as it would look if the program would not be lazy. Peter.