Re: [racket-users] Problem when redefining #%app

2016-06-08 Thread brendan
On Wednesday, June 8, 2016 at 5:25:27 PM UTC-4, Alex Knauth wrote: > It's that the implicit `#%app` within the definition of the `-encoding` macro > is within the scope of the definition, not the place where it's used. Okay, I think I may get it. I knew starting out that there could be a problem

Re: [racket-users] Problem when redefining #%app

2016-06-08 Thread Alex Knauth
> On Jun 8, 2016, at 4:22 PM, brendan wrote: > > I'm writing a #lang using a custom #%app that transforms all multi-argument > applications into nested unary applications. I've run into trouble where a > macro (written in standard Racket but to be used in the #lang) is > malfunctioning becaus

[racket-users] Problem when redefining #%app

2016-06-08 Thread brendan
I'm writing a #lang using a custom #%app that transforms all multi-argument applications into nested unary applications. I've run into trouble where a macro (written in standard Racket but to be used in the #lang) is malfunctioning because when the expander processes the macro's output, it uses