Simon Marlow wrote:
On 10/07/2009 15:31, Peter Hercek wrote:
Hi,

It would be cool if ghci debugger could grab not only the free variables
in the selected expression but in one case a bit more. The case is when
we stop at a function definition the first time (when just entering it).

The problem is that functions can be defined with multiple equations, each giving different names for the arguments. e.g. in

f x 0 = x
f 0 x = x

when we stop at f, what do you want to see?

Right, I did not realize this problem. But your idea of using _arx<N> naming in case of more equations seems best to me. I would still like to have it available.

So it looks doable without bad consequences. Now, the question is: Is there any support for it except me?


Thanks,
Peter.

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to