[plt-scheme] Eq bindings at different phase levels?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sat Feb 20 08:50:42 EST 2010

At Sat, 20 Feb 2010 14:21:27 +0100, Remco Bras wrote:
> I'm experimenting with a macro that requires access to a binding at
> both run-time and expand-time.
> Defining the binding two times, once with define and once with
> define-for-syntax, will not do what I want since I need both bindings
> to refer to the same mutable hash table.

The module system is designed to prevent this, since it has bad
implications for program analysis and separate compilation.

Can you say more about why you want to share a mutable table between
expand time and run time?



Posted on the users mailing list.