[gambit-list] macro-expand

Joel Borggrén-Franck joel.borggren.franck at gmail.com
Mon Mar 10 10:17:57 EDT 2008


On Sun, Mar 9, 2008 at 12:37 AM, Christian Jaeger
<christian at pflanze.mine.nu> wrote:
> I wrote:
>  > BTW be careful: macros using (begin ..) to output multiple forms will
>  > not give what you want since the current interpreter strips the begin
>  > during parsing time:
>  >
>
>  I forgot that the macro could also have output nothing, i.e. (begin).
>  This should be correct in all(tm) circumstances:
>

Is this possible? '(begin)' is as far as I can tell not a valid form
in r5rs? Both 'lambda' and 'begin' requires a '<sequence>' which
requires at least one '<expression>'  which at a glance can't be
empty.



More information about the Gambit-list mailing list