[plt-scheme] verifying whether a symbol is defined at compile time?
Hi all -
Is there a way to verify whether a symbol is defined (or imported) at
compile time? I am trying to write a conditional define macro (e.g.
define-once) that will evaluate to define if the variable is not previously
defined, but struggling to figure out how to determine whether a symbol's
existence. (namespace-defined? v) doesn't appear to work for compile-time.
Thanks,
yinso
--
http://www.yinsochen.com
...continuous learning...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20070422/209689fb/attachment.html>