consult/1

consult(+ F)*

Adds the clauses written in file F or in the list of files F to the program.

In YAP consult//11 does not remove previous clauses for the procedures defined in other files than F, but since YAP-6.4.3 it will redefine all procedures defined in F.

All code in YAP is compiled, and the compiler generates static procedures by default. In case you need to manipulate the original code, the expanded version of the original source code is available by calling source//00 or by enabling the source flag.