compile/1

compile(+ F )*

Updates the program by replacing the previous definitions for the predicates defined in F.

YAP also offers no difference between consult//11 and compile//11. The two are implemented by the same code.

Example:


 ?- [file1, -file2, -file3, file4].

will consult file1``file4 and reconsult file2 and file3. That is, it could be written as:


 ?- consult(file1),
 reconsult( [file2, file3],
 consult( [file4] ).