Author(s): Daniel Cabeza, Manuel Hermenegildo.
Version: 1.11#222 (2004/5/24, 13:8:7 CEST)
Version of last change: 1.11#167 (2004/2/3, 21:15:56 CET)
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)
X
is not further instantiated.
(basic_props:not_further_inst/2
)
This predicate is understood natively by CiaoPP.
(basic_props:native/1
)
var(X)
is side-effect free
.
(basic_props:sideff/2
)
Usage: var(X)
X
is a free variable.
free(X)
.
(basic_props:native/2
)
General properties: nonvar(X)
X
is not further instantiated.
(basic_props:not_further_inst/2
)
nonvar(X)
is side-effect free
.
(basic_props:sideff/2
)
This predicate is understood natively by CiaoPP.
(basic_props:native/1
)
Usage: nonvar(X)
X
is currently a term which is not a free variable.
not_free(X)
.
(basic_props:native/2
)
General properties: atom(X)
X
is an atom.
(basic_props:atm/1
)
atom(X)
X
is not further instantiated.
(basic_props:not_further_inst/2
)
atom(X)
is side-effect free
.
(basic_props:sideff/2
)
This predicate is understood natively by CiaoPP.
(basic_props:native/1
)
Usage: atom(X)
X
is currently instantiated to an atom.
basic_props:native/1
)
General properties: integer(X)
X
is an integer.
(basic_props:int/1
)
integer(X)
X
is not further instantiated.
(basic_props:not_further_inst/2
)
integer(X)
is side-effect free
.
(basic_props:sideff/2
)
This predicate is understood natively by CiaoPP.
(basic_props:native/1
)
Usage: integer(X)
X
is currently instantiated to an integer.
basic_props:native/1
)
General properties: float(X)
X
is a float.
(basic_props:flt/1
)
float(X)
X
is not further instantiated.
(basic_props:not_further_inst/2
)
float(X)
is side-effect free
.
(basic_props:sideff/2
)
This predicate is understood natively by CiaoPP.
(basic_props:native/1
)
Usage: float(X)
X
is currently instantiated to a float.
basic_props:native/1
)
General properties: number(X)
X
is a number.
(basic_props:num/1
)
number(X)
X
is not further instantiated.
(basic_props:not_further_inst/2
)
number(X)
is side-effect free
.
(basic_props:sideff/2
)
This predicate is understood natively by CiaoPP.
(basic_props:native/1
)
Usage: number(X)
X
is currently instantiated to a number.
basic_props:native/1
)
General properties: atomic(X)
X
is not further instantiated.
(basic_props:not_further_inst/2
)
atomic(X)
is side-effect free
.
(basic_props:sideff/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.
basic_props:native/1
)
General properties: ground(X)
X
is ground.
(basic_props:gnd/1
)
ground(X)
X
is not further instantiated.
(basic_props:not_further_inst/2
)
ground(X)
is side-effect free
.
(basic_props:sideff/2
)
This predicate is understood natively by CiaoPP.
(basic_props:native/1
)
Usage: ground(X)
X
is currently ground (it contains no variables).
basic_props:native/1
)
General properties: type(X, Y)
Y
is an atom.
(basic_props:atm/1
)
type(Arg1,Arg2)
is side-effect free
.
(basic_props:sideff/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
).
basic_props:native/1
)
Go to the first, previous, next, last section, table of contents.