set_base_module/1

set_base_module( +ExportingModule )* is det

All predicates exported from ExportingModule are automatically available to the other source modules.

This built-in was introduced by SWI-Prolog. In YAP, by default, modules only inherit from prolog. This extension allows predicates in the current module (see module//22 and module//11) to inherit from user or other modules.