Re: Find source/location of anonymous function by name

2014-05-10 Thread Pascal Germroth
On 10 May 2014, at 18:36, Ambrose Bonnaire-Sergeant wrote: > Have you tried naming the anonymous functions that might be culprits? > > (fn trace-me [..] ...) Yes, that turned out to be the quickest way, naming everything with a vim command: :%s/fn \[/\="fn TRACE-" . line(".") . " ["/g Fixing

Re: Find source/location of anonymous function by name

2014-05-10 Thread Ambrose Bonnaire-Sergeant
Have you tried naming the anonymous functions that might be culprits? (fn trace-me [..] ...) Thanks, Ambrose On Sun, May 11, 2014 at 1:33 AM, Pascal Germroth wrote: > Hi, > > Say I'm getting an "ArityException Wrong number of args (2) passed to: > myparser/fn--106751" exception. > Unfortunatel

Find source/location of anonymous function by name

2014-05-10 Thread Pascal Germroth
Hi, Say I'm getting an "ArityException Wrong number of args (2) passed to: myparser/fn--106751" exception. Unfortunately the code is quite heavy on the higher order side, so the stack trace doesn't reveal anything useful, especially since the exception is thrown by the `apply` before, so I'm no