[plt-scheme] Variable in both transform and normal environments?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Jan 17 17:04:35 EST 2007

At Wed, 17 Jan 2007 12:34:37 -0800, "Jay Kint" wrote:
> Is there a way to make a variable/procedure available in both
> environments?

Only by putting it into module that you require into both environments.
(You get a different instance of the variable/procedure for each
environment.)

>  Along those lines, if there isn't a way, is there
> something similar to the opposite of "require-for-syntax", perhaps
> "provide-for-syntax"?

Not currently.

We could change `provide' so that it supports re-providing things
imported for syntax (as in R6RS) and things defined with
`define-for-syntax'. Would that help?

Matthew



Posted on the users mailing list.