16 Feb 1998 00:38
Re: Is this "hygienic"?
Richard Kelsey <kelsey <at> research.nj.nec.com>
1998-02-15 23:38:17 GMT
1998-02-15 23:38:17 GMT
Date: Sun, 15 Feb 1998 17:43:27 -0500 (EST)
From: Jonathan A Rees <jar <at> martigny.ai.mit.edu>
Reply-To: JR <at> alum.mit.edu
Date: Fri, 13 Feb 1998 13:20:16 -0500
From: Alan Bawden <Alan <at> lcs.mit.edu>
In Scheme 48 0.49:
[foo and friends elided]
Then:
(test 7) => ((inner-foo 7) (foo 7) (inner-foo 7))
Now by my reading of section 4.3 of the new R5RS, this should return:
(test 7) => ((inner-foo 7) (foo 7) (foo 7))
So is this a Scheme 48 bug? Or is my understanding of R5RS at fault?
I wouldn't be at all surprised if Scheme 48's define-syntax
implementation (which is my fault, not Richard's) had bugs.
Yes, it is a Scheme 48 bug. Macro-defining macros have never
been hygienic in Scheme 48.
Perhaps we should switch to Will's version.
(Continue reading)
RSS Feed