4.7.2 Special unification and comparison predicates
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Built-in Predicates
Comparison and Unification of Terms
Special unification and comparison predicates
unify_with_occurs_check/2
=@=/2
\=@=/2
subsumes_term/2
term_subsumer/3
unifiable/3
?=/2
Packages
Availability:
:- use_module(
library(terms)
).
(can be autoloaded)
term_subsumer
(
+Special1, +Special2, -General
)
General
is the most specific term that is a generalisation of
Special1
and
Special2
. The implementation can handle cyclic terms.