[plt-scheme] define-for-syntax and R6RS

From: Jos Koot (jos.koot at telefonica.net)
Date: Tue Jun 24 20:44:06 EDT 2008

Because in R6RS I cannot find anything with the same functionality as define-for-syntax or begin-for-syntax, I do the following:

#!r6rs
(library (mylib)
 (export mystuff)
 (import
  (for (rnrs base (6)) run)
  (for (only (scheme base) define-for-syntax) run)
  (for (rnrs base (6)) expand))
 etc)

I am surprised that define-for-syntax must be imported for phase <run> and does not need an import for phase <expand>. Any light on this would be very welcome.

Is there in R6RS something with the same functionality as define-for-syntax or begin-for-syntax. I have looked hard around, but did not catch anything.

Greetings,
Jos

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20080625/5d11d385/attachment.html>

Posted on the users mailing list.