[plt-scheme] reference to undefined identifier when loading module

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Jul 13 10:10:16 EDT 2004

At Tue, 13 Jul 2004 09:06:07 -0400, Terrence Brannon wrote:
> 1/ Could someone tell me how to fix this?

Never use `load'.

> 2/ At some point, I am going to switch to using require() and provide() 

That will fix your problem.

The environment used by `load' is not related to the environment
containing the `load' call.

Matthew



Posted on the users mailing list.