PLOGHELP RETRACTALL                           Chris Mellish, August 1982
                                Revised by Kathryn Seifert  October 1986

Predicate to remove clauses with a given head from database

    ?- retractall(X).

Keywords: remove, database, retraction, head

Retracts all clauses whose heads match X.

-- RELATED DOCUMENTATION ----------------------------------------------

PLOGHELP * DATABASE
 Overview of Prolog database operations

PLOGHELP * RETRACT
 Predicate to remove clauses matching a given pattern from database

PLOGHELP * ABOLISH
 Predicate removing clauses with a given functor and arity from database
