Availability:built-in
[ISO,det]retractall(+Head)All facts or clauses in the database for which the head 
unifies with Head are removed. If Head refers to a 
predicate that is not defined, it is implicitly created as a dynamic 
predicate. See also dynamic/1.74The 
ISO standard only allows using dynamic/1 
as a directive.