Regarding bug 946693.
----- Forwarded message from "R. Kent Dybvig" <dyb@xxxxxxxxxxxxxx> -----
Envelope-to: scgmille@localhost
Delivery-date: Thu, 06 May 2004 12:02:29 -0500
X-Envelope-To: scott@xxxxxxxxxxxx
From: "R. Kent Dybvig" <dyb@xxxxxxxxxxxxxx>
To: scott@xxxxxxxxxxxx
Subject: Re: datum->syntax-object and hygiene
Scott,
This is not a bug, but simply illustrates why it is not a good idea to
mix hygienic and nonhygienic macros. The identifier when is introduced by
test1, so any syntax objects you create with this identifier as a template
will be scoped where the definition of test1 appears. This includes
(the copy of) thunk introduced by when.
Kent
----- End forwarded message -----
--
pgpqSdmv45Jtl.pgp
Description: PGP signature
|