[plt-scheme] datum->syntax rules

YC yinso.chen at gmail.com
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.

yc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.cs.brown.edu/pipermail/plt-scheme/attachments/20080804/35473927/attachment.htm


More information about the plt-scheme mailing list