[plt-scheme] datum->syntax rules

From: YC (yinso.chen at gmail.com)
Date: Tue Aug 5 01:20:15 EDT 2008

On Mon, Aug 4, 2008 at 10:13 PM, Carl Eastlund <cce at ccs.neu.edu> wrote:

> You have a typo - one version of the macro has (if it test else), the
> other has (if it then else).  The version with (if it test else) never
> actually uses the "then" clause, which is where you refer to "it".
> That's why it doesn't get a syntax error.  It's not that "it" is bound
> correctly, it's that you discard the reference.

Ah I see - Thanks for catching this typo for me... I literally stared at the
issue for hours... :)

Thanks Chongkai for the explanation as well.

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

Posted on the users mailing list.