This module implements predicates to handle sets of variables in terms.
Xs is the sorted list of all the variables in Term.
Vs is the list of all the variables in Term ordered as they appear in Term right-to-left depth-first (including duplicates) plus Xs.
Usage:varset_in_args(T,LL)
Each list of LL contains the variables of an argument of T, for each argument, and in left to right order.
Usage:ISOterm_variables(Term,Vars)
Vars is the list of all the variables in Term, ordered as they appear in Term right-to-left depth-first (without duplicates).
Vars-Tail is the difference list of all the variables in Term, ordered as they appear in Term right-to-left depth-first (without duplicates).