@@ -315,7 +315,7 @@ possible.
|
|||||||
Almost all Prolog programs also reason about integers. Therefore, it
|
Almost all Prolog programs also reason about integers. Therefore, it
|
||||||
is highly advisable that you make CLP(ℤ) constraints available in all
|
is highly advisable that you make CLP(ℤ) constraints available in all
|
||||||
your programs. One way to do this is to put the following directive in
|
your programs. One way to do this is to put the following directive in
|
||||||
your =|~/.swiplrc|= initialisation file:
|
your =|~/.scryerrc|= initialisation file:
|
||||||
|
|
||||||
==
|
==
|
||||||
:- use_module(library(clpz)).
|
:- use_module(library(clpz)).
|
||||||
@@ -405,7 +405,7 @@ The [_arithmetic constraints_](<#clpz-arith-constraints>) #=/2, #>/2
|
|||||||
etc. are meant to be used _instead_ of the primitives `(is)/2`,
|
etc. are meant to be used _instead_ of the primitives `(is)/2`,
|
||||||
`(=:=)/2`, `(>)/2` etc. over integers. Almost all Prolog programs also
|
`(=:=)/2`, `(>)/2` etc. over integers. Almost all Prolog programs also
|
||||||
reason about integers. Therefore, it is recommended that you put the
|
reason about integers. Therefore, it is recommended that you put the
|
||||||
following directive in your =|~/.swiplrc|= initialisation file to make
|
following directive in your =|~/.scryerrc|= initialisation file to make
|
||||||
CLP(ℤ) constraints available in all your programs:
|
CLP(ℤ) constraints available in all your programs:
|
||||||
|
|
||||||
==
|
==
|
||||||
|
|||||||
Reference in New Issue
Block a user