I'm sure I'm missing something obvious, but this has been bothering me... the 
Reference refers in various places to top-level variables and bindings that 
apparently excludes module bodies, as in section 1.2.1: "A top-level binding is 
a binding from a definition at the top-level; a module binding is a binding 
from a definition in a module…”. It gives this example in section 1.1.9: "For 
example, in the program ... (define y (+ (let ([x 5]) x) 6)) ... both y and x 
are variables. The y variable is a top-level variable, and the x is a local 
variable.” But I can’t figure out how such a thing can exist, because Racket 
always insists that any definitions I write must be inside a module, either 
implicitly via #lang, or explicitly. It seems like the only possible top-level 
form is a module form. Can someone explain this paradox to me? Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to