[gambit-list] importing in define

lowly coder lowlycoder at huoyanjinjing.com
Wed Aug 5 17:49:37 EDT 2009


foo.scm:

(namespace ("foo#"))
(##define define 2)
[some code]
(my-define ...)
define
----

Is there something I can replace [some code] with, so that:

1) I'm still in namespace foo#
2) foo#my-define = ""#define
3) define still has value 2 on the last line


[I'm doing some weird tricks where define does type checking on its
args at run time.]

Thanks!



More information about the Gambit-list mailing list