Hi Racketeers.
I'm writing some macro code that generates submodules. I'm not entirely 
sure how hygiene is maintained when creating submodules, and now I have
little idea why my macros are doing the crazy things that they are. Could 
anyone give a concrete explanation on how modules work with hygiene, and
perhaps as a motivating example, why does the following code break?

#lang racket
(define-syntax-rule (define-simple-module name form ...)
  (module name racket/base
    (provide (all-defined-out))
    form ...))

(define-simple-module prices
  (define shwarma 8.00)
  (define falafel 6.50))


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.

Reply via email to