[ Obsolete | Reference Manual | Alphabetic Index ]
retract_all(+Head)
Removes from the database all clauses whose heads match Head
- Head
- Atom, variable or compound term.
This built-in predicate is obsolete!
Description
An obsolete synonym for retractall/1.
Modes and Determinism
Modules
This predicate is sensitive to its module context (tool predicate, see @/2).
Exceptions
- (4) instantiation fault
- Head is not instantiated
- (5) type error
- Head is not a callable term
- (63) procedure not dynamic
- Procedure is not dynamic
- (70) accessing an undefined dynamic procedure
- Procedure is undefined
See Also
retractall / 1