Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

[dyb@xxxxxxxxxxxxxx: Re: datum->syntax-object and hygiene]: msg#00001

Subject: [dyb@xxxxxxxxxxxxxx: Re: datum->syntax-object and hygiene]
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 -----

-- 

Attachment: pgpqSdmv45Jtl.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>