export new_variables_in_term and variables_within_term (obs from Jiefei Ma).
This commit is contained in:
parent
abec8208d3
commit
cef4a27d1c
@ -16,17 +16,19 @@
|
|||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
:- module(terms, [
|
:- module(terms, [
|
||||||
term_hash/2,
|
term_hash/2,
|
||||||
term_hash/4,
|
term_hash/4,
|
||||||
instantiated_term_hash/4,
|
instantiated_term_hash/4,
|
||||||
variant/2,
|
variant/2,
|
||||||
unifiable/3,
|
unifiable/3,
|
||||||
subsumes/2,
|
subsumes/2,
|
||||||
subsumes_chk/2,
|
subsumes_chk/2,
|
||||||
cyclic_term/1,
|
cyclic_term/1,
|
||||||
acyclic_term/1,
|
acyclic_term/1,
|
||||||
variable_in_term/2
|
variable_in_term/2,
|
||||||
]).
|
variables_within_term/3,
|
||||||
|
new_variables_in_term/3
|
||||||
|
]).
|
||||||
|
|
||||||
term_hash(T,H) :-
|
term_hash(T,H) :-
|
||||||
term_hash(T, -1, 33554432, H).
|
term_hash(T, -1, 33554432, H).
|
||||||
|
Reference in New Issue
Block a user