make-namespace-with-mred in Miscellaneous
Like make-namespace, chapter 8 in PLT MzLib: Libraries Manual, but the
( module of the current namespace is
attached. In addition, by default, the namespace is initialized by
importing the mred.ss module and MzLib's class.ss
module into the namespace's top-level environment.lib "mred.ss" "mred")
(make-namespace-with-mred -> namespace
flag)
flag = : symbol in 'mred'(mred initial empty)
The 'initial and 'empty flags control the namespace
creation in the same way as for
make-namespace, chapter 8 in PLT MzLib: Libraries Manual, except that
the mred.ss module is attached to the created namespace (along
with the transitive closure of its imports). The 'mred flag
is like 'initial, but also imports the mred.ss module
and MzLib's class.ss module into the namespace's
top-level environment.