Each module is stored as an environment inside loaded_modules
with
the module<U+2019>s code location path as its identifier. The path rather than the
module name is used because module names are not unique: two modules called
a
can exist nested inside modules b
and c
, respectively.
Yet these may be loaded at the same time and need to be distinguished.
loaded_modulesis_module_loaded(module_path)
cache_module(module_ns)
uncache_module(module_ns)
clear_modules_cache()
get_loaded_module(module_path)
fully resolved module path
module namespace environment
An object of class environment
of length 0.