[plt-scheme] provide-for-syntax?
On 5/23/07, Matthew Flatt <mflatt at cs.utah.edu> wrote:
>
> > At Wed, 23 May 2007 15:58:35 -0700, YC wrote:
> > > Is there something analogous to (provide) but for the transformation
> > > environment, e.g. provide-for-syntax?
>
> > No, but there will be soon (weeks, or a couple of months at the most).
Cool - that would be awesome ;)
> > It seems that making a module a custom language doesn't automatically
> > > introduce the definitions into transformation environment, i.e. I
> still need
> > > to use (require-for-syntax).
>
> > Right. The `mzscheme' language plays a trick: it exports a
> > `#%module-begin' that inserts a `(require-for-syntax mzscheme)' into
> > the body of a module. This trick doesn't compose well, as you've
> > discovered.
Interesting - is this buried in C source code or is this in the scheme lib
collection? I can't seem to find a mzscheme.ss.
Thanks,
yinso
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20070523/db81fd86/attachment.html>