[plt-scheme] provide-for-syntax?
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).
> 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.
Matthew