This module provides basic term manipulation.
X and Y unify.
X and Y are not unifiable.
Argument ArgNo of the term Term is Arg.
The principal functor of the term Term has name Name and arity Arity.
The functor and arguments of the term Term comprise the list List.
Copy is a renaming of Term, such that brand new variables have been substituted for all variables in Term. If any of the variables of Term have attributes, the copied variables will have copies of the attributes as well. It behaves as if defined by:
:- data 'copy of'/1. copy_term(X, Y) :- asserta_fact('copy of'(X)), retract_fact('copy of'(Y)).
Same as copy_term/2, except that attributes of variables are not copied.
S1 is connected by the terminal Terminal to S2. Internally used in DCG grammar rules. Defined as if by the single clause: 'C'([X|S], X, S).
list_functor([A|B]) :- term(A), term(B).
A list that is not the empty list .
True if T is cyclic (infinite).