Modules index

# VM

Important functions and classes in this module are as follows:

`func add_modules(mods):` Adds or replaces modules in the running VM. `mods` should be a list of modules. Note that this function does not import modules: it merely adds them into the VM so that they can then be imported e.g. by `import_module`.

`func find_module(mod_id):` Returns the module with identifier `mod_id` if it exists in the VM, failing otherwise.

`func import_module(mod_id):` Imports the module with identifier `mod_id`. Raises an exception if no such module is in the VM.

cvd_to_html ©2006-2007 Laurence Tratt