VocabularylogicInputshead-def | a logic predicate |
OutputsNone
Word descriptionRemoves all definitions that match a given head goal definition.
ExamplesUSING: logic prettyprint ;
IN: scratchpad
LOGIC-PRED: mouseo
SYMBOLS: Jerry Nibbles ;
{ mouseo Jerry } fact
{ mouseo Nibbles } fact
{ mouseo X } query .
{ mouseo __ } retract-all
{ mouseo X } query .
{ H{ { X Jerry } } H{ { X Nibbles } } }
f
See alsoretract,
clear-predDefinition