Operators

PrologJ supports 46 built-in operators. By default, all are defined; but when the user explicitly specifies the category(s) of built-in predicates to use, certain operators that are specific to a particular category of predicates are not defined if the category is not selected. If a library category is unloaded using the "Library Components" menu, then the associated operators are also removed.

The following is a complete list of the operators. If a predicate category is specified, then the operator is defined only when that predicate category is available. When no predicate category is specified, that operator is always defined. (The category codes are those used in the table in the built-in predicates page).

These operator definitions are consistent with the ISO standard table of predefined operators listed in [ Deransart, Ed-Dbali, and Cervoni 1996 ] Table 9.2, with the exception of not - which is as described in [ Clocksin and Mellish 1994 ] section 5.5, and the operators associated with the "DEB", "JAV", and "FUZ" extensions, which are documented in this set of web pages along with the corresponding built-in predicates.

Symbol Precedence Associativity  Category 
:-xfx1200
-->xfx1200
:-fx1200
?-fx1200
;xfy1100
->xfy1050
','xfy1000FUZ
:xfy1000
\+fy900ISO
notfy900TRA
@xfx900JAV
spyfy800DEB
nospyfy800DEB
tracefy800DEB
notracefy800DEB
=xfx700
\=xfx700
==xfx700
\==xfx700
@<xfx700ISO
@=<xfx700ISO
@>xfx700ISO
@>=xfx700ISO
=..xfx700
isxfx700
=:=xfx700
=\=xfx700
<xfx700
=<xfx700
>xfx700
>=xfx700
+yfx500
-yfx500
/\yfx500ISO
\/yfx500ISO
*yfx400
/yfx400
//yfx400ISO
remyfx400ISO
modyfx400
<<yfx400ISO
>>yfx400ISO
**xfx200ISO
^xfy200ISO
-fy200
\fy200ISO
Copyright © 2005 - Russell C. Bjork. See the file See file COPYING in the root directory for copyright information.

Valid XHTML 1.0!