[r6rs-discuss] macroexpand

From: Dan Muresan <dan-r6rs>
Date: Fri Sep 22 14:26:42 2006

> I agree that they are useful. For example, without something like
> macroexpand,
> it is impossible to express LAMBDA (with internal definitions) as a macro
> in terms of LETREC*. I think EXPAND can be provided as a compatible
> extension (at
> least I know how to do it in my expander), but it is probably too much to
> ask of r6rs.

Good point. Ironically, it wasn't too much to ask of R4RS...

I was starting to think I was the only one with this problem.

In another post you mention that macroexpand can work for hygienic macros
-- but two people have just concurred that this is not easy. Perhaps we
can at least build consensus around define-macro and macroexpand...


Best,
Dan Muresan
http://alumnus.caltech.edu/~muresan
Received on Fri Sep 22 2006 - 14:26:31 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC