subsumes_term/2 (from ISO and UD #173).
This commit is contained in:
parent
8592db72d7
commit
cf3cb21fd7
10
docs/yap.tex
10
docs/yap.tex
@ -3350,6 +3350,16 @@ is bound to the empty list (nil) or a term with functor '.' and arity 2.
|
|||||||
|
|
||||||
Same as @code{variant/2}, succeeds if @var{Term1} and @var{Term2} are variant terms.
|
Same as @code{variant/2}, succeeds if @var{Term1} and @var{Term2} are variant terms.
|
||||||
|
|
||||||
|
|
||||||
|
@item subsumes_term(?@var{Subsumer}, ?@var{Subsumed})
|
||||||
|
@findex subsumes_term/2
|
||||||
|
@syindex subsumes_term/2
|
||||||
|
@cnindex subsumes_term/2
|
||||||
|
|
||||||
|
Succeed if @var{Submuser} subsumes @var{Subsuned} but does not bind any
|
||||||
|
variable in @var{Subsumer}.
|
||||||
|
|
||||||
|
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@node Predicates on Atoms, Predicates on Characters, Testing Terms, Top
|
@node Predicates on Atoms, Predicates on Characters, Testing Terms, Top
|
||||||
|
@ -643,3 +643,7 @@ nb_current(GlobalVariable, Val) :-
|
|||||||
).
|
).
|
||||||
|
|
||||||
|
|
||||||
|
subsumes_term(A,B) :-
|
||||||
|
\+ \+ terms:subsumes(A,B).
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user