- load_pack_modules(+Pack, -Modules) is semidet
- Finds and loads all Prolog module sources for Pack. Also loads test
files having once loaded the pack. Modules becomes a list of
successfully-loaded pack modules.
- load_prolog_module(+Directory, -Module) is nondet
- Loads Prolog source recursively at Directory for Module. Does not
load non-module sources, e.g. scripts without a module. Operates
non-deterministically for Module. Finds and loads all the modules
within a given directory; typically amounts to a pack root
directory. You can find the File from which the module loaded using
module properties, i.e.
module_property(Module, file(File))
.