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

Jos Koot jos.koot at telefonica.net
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://list.cs.brown.edu/pipermail/plt-scheme/attachments/20080625/5d11d385/attachment.htm


More information about the plt-scheme mailing list