Author(s): Daniel Cabeza, Manuel Hermenegildo.
Version: 1.10#7 (2006/4/26, 19:22:13 CEST)
Version of last change: 0.7#8 (1998/9/23, 19:21:44 MEST)
This library contains traditional Prolog predicates for testing types. They depend on the state of instantiation of their arguments, thus being of extra-logical nature.
term_typing)term_typing)
General properties: var(X)
basic_props:native/1)
This predicate is understood natively by CiaoPP as free(X).
(basic_props:native/2)
var(X) is side-effect hard.
(basic_props:sideff/2)
Usage: var(X)
X is a free variable.
X is not further instantiated.
(basic_props:not_further_inst/2)
General properties: nonvar(X)
basic_props:native/1)
This predicate is understood natively by CiaoPP as not_free(X).
(basic_props:native/2)
Usage: nonvar(X)
X is currently a term which is not a free variable.
X is not further instantiated.
(basic_props:not_further_inst/2)
Usage: atom(X)
X is currently instantiated to an atom.
X is an atom.
(basic_props:atm/1)
X is not further instantiated.
(basic_props:not_further_inst/2)
This predicate is understood natively by CiaoPP.
(basic_props:native/1)
Usage: integer(X)
X is currently instantiated to an integer.
X is an integer.
(basic_props:int/1)
X is not further instantiated.
(basic_props:not_further_inst/2)
This predicate is understood natively by CiaoPP.
(basic_props:native/1)
Usage: float(X)
X is currently instantiated to a float.
X is a float.
(basic_props:flt/1)
X is not further instantiated.
(basic_props:not_further_inst/2)
This predicate is understood natively by CiaoPP.
(basic_props:native/1)
Usage: number(X)
X is currently instantiated to a number.
X is a number.
(basic_props:num/1)
X is not further instantiated.
(basic_props:not_further_inst/2)
This predicate is understood natively by CiaoPP.
(basic_props:native/1)
Usage: atomic(X)
X is currently instantiated to an atom or a number.
X is not further instantiated.
(basic_props:not_further_inst/2)
This predicate is understood natively by CiaoPP.
(basic_props:native/1)
Usage: ground(X)
X is currently ground (it contains no variables).
X is ground.
(basic_props:gnd/1)
X is not further instantiated.
(basic_props:not_further_inst/2)
This predicate is understood natively by CiaoPP.
(basic_props:native/1)
Usage: type(X, Y)
X is internally of type Y (var, attv, float, integer, structure, atom or list).
Y is an atom.
(basic_props:atm/1)
basic_props:native/1)
Go to the first, previous, next, last section, table of contents.