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

From: Yin-So Chen (yinso.chen at gmail.com)
Date: Sun Apr 22 06:55:23 EDT 2007

Hi Matt - thanks for the pointer, I will give it a shot.


On 4/22/07, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> 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.
> Matthew

...continuous learning...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20070422/c7fdcb2b/attachment.html>

Posted on the users mailing list.