I'm not sure why `(submod ...)` doesn't work in the usual place in a
`syntax/module-reader` module body, but you can use

 #:language '(submod ...)

instead.

At Wed, 17 May 2017 20:02:30 -0700 (PDT), Vityou wrote:
> If I have a module called reader, and I want to set its expander with 
> syntax/module-reader to a module in the same file as reader, how would I do 
> so?  I have tried submod, but apparently you can only use it in a 
> require/provide statement.
> 
> -- 
> 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.

-- 
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