[plt-scheme] Using symbols, introduced with namespace-attach- module, in an embedding application

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Dec 17 08:55:41 EST 2003

At Tue, 16 Dec 2003 12:12:01 +0300, Khorev Sergey wrote:
> Some experiments show that it works the same way as
>     scheme_set_param(scheme_config, MZCONFIG_ENV, (Scheme_Object *)ns);
>     scheme_eval_string("(namespace-attach-module basic 'mymod)", ns);
>     scheme_set_param(scheme_config, MZCONFIG_ENV, (Scheme_Object *)basic);
>     scheme_eval_string("(require mymod)", ns);
>     scheme_eval_string("(prim1)", ns);
> 
> Am I right?

Yes - in the above, only `namespace-attach-module' relies on the
current value of the namespace parameter.

Matthew



Posted on the users mailing list.