On 2015-11-30 06:55:44 -0800, brendan wrote: > 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.
When you use a REPL, like if you launch racket at the command-line, you are using the top-level: Welcome to Racket v6.3.0.6. -> (begin-for-syntax (displayln (syntax-local-context))) top-level (or if you're in the interactions area in DrRacket) You can also be in the top-level if you use the "#lang racket/load" language. Or if you load a file (`racket -f <whatever>.rktl`). Cheers, Asumu -- 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 racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.