[plt-scheme] verifying whether a symbol is defined at compile time?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sun Apr 22 06:48:12 EDT 2007

At Sun, 22 Apr 2007 03:32:36 -0700, "Yin-So Chen" wrote:
> My motivation for having a conditional define is to make it
> play nice with the module system, which doesn't work well when having
> multiple definitions with the same name.  I was hoping there is an
> "automated" way of detecting whether a symbol is already defined in the
> current module, if so, either override or not import the definition.

Within a module, `identifier-binding' should do the trick.


Posted on the users mailing list.