Introspection facilities
This module provides ways to query and reflectively use bindings defined in modules. Mostly useful for creating tooling, such as documentation generators or test runners.
(requires "builtin/introspection.lisp")
lookup-module
function
(lookup-module path) => <module>
Returns reference to a module defined at path as an instance of <module>, or nil if it doesn’t exist. Uses same rules as provide form. An error shall be signaled if path is not a string (error-id. domain-error).
lookup-module-documentations
function
(list-module-documentations module) => <vector>
Returns all documentation entries registered in module. Each entry is itself a vector length of 3, containing namespace, name, and documentation alist. See documentation method for details on its structure. An error shall be signaled if module is not an instance of <module> (error-id. domain-error).