[racket-users] Re: As clean as possible in a dirty macro

2016-04-27 Thread Nicholas Labich
Thanks for the feedback. Attached is the solution applied to my original implementation (only 65loc, documented). A couple of interesting points: - My simplified example didn't show this, but I have to `syntax-local-introduce' the identifiers recursively, else references to symbol=?

[racket-users] Re: As clean as possible in a dirty macro

2016-04-26 Thread Nicholas Labich
Hmm, no takers on this wall of text? ;) Turns out I was looking in the wrong direction. While reading some of Matthew's sets of scopes notes, I stumbled across an example with exactly the tool I needed: `syntax-local-introduce'. Each of the intermediary `let-syntax'-bound macros just needed