Justin Bailey wrote:
2008/9/9 Pieter Laeremans <[EMAIL PROTECTED]>:
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-options-debugging

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.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to