- Documentation
- Reference manual
- Summary
- Library predicates
- library(aggregate)
- library(ansi_term)
- library(apply)
- library(assoc)
- library(broadcast)
- library(charsio)
- library(check)
- library(clpb)
- library(clpfd)
- library(clpqr)
- library(csv)
- library(dcgbasics)
- library(dcghighorder)
- library(debug)
- library(dicts)
- library(error)
- library(fastrw)
- library(explain)
- library(help)
- library(gensym)
- library(heaps)
- library(increval)
- library(intercept)
- library(iostream)
- library(listing)
- library(lists)
- library(macros)
- library(main)
- library(occurs)
- library(option)
- library(optparse)
- library(ordsets)
- library(persistency)
- library(portraytext)
- library(predicate_options)
- library(prologcoverage)
- library(prologdebug)
- library(prologjiti)
- library(prologpack)
- library(prologversions)
- library(prologtrace)
- library(prologxref)
- library(pairs)
- library(pio)
- library(random)
- library(rbtrees)
- library(readutil)
- library(record)
- library(registry)
- library(rwlocks)
- library(settings)
- library(simplex)
- library(statistics)
- library(terms)
- library(ugraphs)
- library(url)
- library(www_browser)
- library(solution_sequences)
- library(thread)
- library(thread_pool)
- library(varnumbers)
- library(yall)
- Library predicates
- Summary
- Packages
- Reference manual
F.2.29 library(occurs)
contains_term/2 | Succeeds if Sub is contained in Term (=, deterministically). |
contains_var/2 | Succeeds if Sub is contained in Term (==, deterministically). |
free_of_term/2 | Succeeds of Sub does not unify to any subterm of Term. |
free_of_var/2 | Succeeds
of Sub is not equal (== ) to any subterm of Term. |
occurrences_of_term/3 | Count the number of SubTerms in Term that _unify_ with SubTerm. |
occurrences_of_var/3 | Count the number of SubTerms in Term that are _equal_ to SubTerm. |
sub_term/2 | Generates (on backtracking) all subterms of Term. |
sub_term_shared_variables/3 | If Sub is a sub term of Term, Vars is bound to the list of variables in Sub that also appear outside Sub in Term. |
sub_var/2 | Generates
(on backtracking) all subterms (== ) of Term. |