<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16674" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Courier New" size=2>Because in R6RS I cannot find anything
with the same functionality as define-for-syntax or begin-for-syntax, I do the
following:</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>#!r6rs</FONT></DIV>
<DIV><FONT face="Courier New" size=2>(library (mylib)<BR> (export
mystuff)<BR> (import<BR> (for (rnrs base (6)) run)<BR> (for
(only (scheme base) define-for-syntax) run)<BR> (for (rnrs base (6))
expand))</FONT></DIV>
<DIV><FONT face="Courier New" size=2> etc)</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>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.</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>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.</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>Greetings,</FONT></DIV>
<DIV><FONT face="Courier New" size=2>Jos</DIV>
<DIV><BR></DIV></FONT></BODY></HTML>