Next: 6.14.2 Predicates for Table
Up: 6.14 Tabled Predicate Manipulations
Previous: Skeletons and Predicate Specifications
Contents
Index
6.14.1 Declaring and Modifying Tabled Predicates
- table +P
/N
, ..., +P
/N
.
- Tabling
Used as a compiler declaration, it indicates that each predicate
denoted by the predicate indicator P
/N
is to be
compiled using tabling. Executed as a directive in a state of
execution where no clauses exist for P
/N
, table/1
ensures that any clauses asserted for P
/N
use tabling.
- use_subsumptive_tabling +PredSpec
, ..., +PredSpec
.
- Tabling
Declares each tabled predicate denoted by PredSpec
to use call-subsumption, thus overriding the system default of call
variance. The tabling strategy can be changed at will through the
invocation of this and the following predicate. Note, however, that
the table for the predicate must be empty at the time of the change.
- use_variant_tabling +PredSpec
, ..., +PredSpec
.
- Tabling
Declares each tabled predicate denoted by PredSpec
to use call-variance, thus overriding the current system default. The
same comments apply as for use_subsumptive_tabling/1.
Next: 6.14.2 Predicates for Table
Up: 6.14 Tabled Predicate Manipulations
Previous: Skeletons and Predicate Specifications
Contents
Index
Terrance Swift
2007-10-05