Class SubtractFromList

java.lang.Object
org.projog.core.predicate.AbstractSingleResultPredicate
org.projog.core.predicate.builtin.list.SubtractFromList
All Implemented Interfaces:
KnowledgeBaseConsumer, PredicateFactory

public final class SubtractFromList extends AbstractSingleResultPredicate
subtract(X,Y,Z) - removes elements from a list.

subtract(X,Y,Z) removes the elements in the list represented by Y from the list represented by X and attempts to unify the result with Z.