4.11.13 Obtaining Information about Loaded Modules

The built-in predicate current_module/2 can be used to find all the currently loaded module, and where they were loaded from. See mpg-ref-current_module.


M is the name of a current module


F is the name of the file in which M’s module declaration appears. Not all modules have a corresponding file.

Send feedback on this subject.