[racket-dev] varrefs in teaching languages are actually top-level?

From: John Clements (clements at brinckerhoff.org)
Date: Wed Jun 29 14:43:50 EDT 2011

I just observed something that gave me a bit of a start; it appears to me that bindings in the teaching languages are still parsed as top-level bindings, and not as module bindings.  This is weird, because I'm pretty confident that the definitions get wrapped in a module before expansion.  However, I'm seeing #f as the value for the 'identifier-binding' on variables in my beginner-language stepper test cases, and in fact in the real stepper as well.

So... is this the desired behavior? Very strange.

John



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4624 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20110629/bc12c66a/attachment.p7s>

Posted on the dev mailing list.