Matthias Buelow <firstname.lastname@example.org> wrote:
| I wrote:
| > The above macro could hypothetically be replaced by a function if...
| One additional note, if you use this variant, you don't have access to
| lexical variables in outer forms, which would complicate the whole
| thing. I can't see any practical way how this particular construct
| could be done without a macro.
Well, if instead of using (QUOTE form) to wrap argument forms you
used (LAMBDA () form), that would give you [selective] access in
the called function to lexical variables in the calling function.
That used to be done all the time in Scheme before R5RS macros
Rob Warnock <email@example.com>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607