This section briefly describes the predicates used to remove the clauses and/or properties of a predicate from the system.
Please note: Removing all of a predicate's clauses by
retract/1
and/orerase/1
(see ref-mdb-rcd-efu) does not remove the predicate's properties (and hence its definition) from the system. The only way to completely remove a predicates clauses and properties is to useabolish/[1,2]
.
retract(
C)
retractall(
H)
abolish(
F)
abolish(
F,
N)
erase(
R)