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-> namespaceflag)
flag=: symbol in'mred'(mred initial empty)The
'initialand'emptyflags control the namespace creation in the same way as formake-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'mredflag is like'initial, but also imports the mred.ss module and MzLib's class.ss module into the namespace's top-level environment.