[plt-scheme] datum->syntax rules

From: YC (yinso.chen at gmail.com)
Date: Tue Aug 5 00:44:54 EDT 2008

On Mon, Aug 4, 2008 at 8:43 PM, Chongkai Zhu <czhu at cs.utah.edu> wrote:

> The "_" in "(_ test then else)" is a special pattern that match's anything.
> So the #'_ given to datum->syntax is not binding to "if-it". This is a PLT
> v4 change. I think you want:

Thanks Chongkai for the explanation.

In that case, why does the first version work?  Does #'_ sometimes binds
against the identifier and sometimes not?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20080804/6947498e/attachment.html>

Posted on the users mailing list.