retract

abstract fun retract(clause: Clause): RetractResult<Theory>

Removes the first clause in the dynamic knowledge base unifiable with clause, as retract/1 would.


abstract fun retract(fact: Struct): RetractResult<Theory>

Removes the first clause in the dynamic knowledge base whose head unifies with fact.