ghci debugger: showing function argumetns when stopped at its
marlowsd at gmail.com
Tue Jul 14 04:24:03 EDT 2009
Peter Hercek wrote:
> Simon Marlow wrote:
>> On 10/07/2009 15:31, Peter Hercek wrote:
>>> 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?
No objections here.
More information about the Glasgow-haskell-users