]> Repositorios git - scryer-prolog.git/commitdiff
DOC: update residual goals
authorMarkus Triska <[email protected]>
Wed, 22 Feb 2023 23:10:26 +0000 (00:10 +0100)
committerMarkus Triska <[email protected]>
Wed, 22 Feb 2023 23:10:36 +0000 (00:10 +0100)
src/lib/clpb.pl

index 546286eab76ac5eee55c518d372c65eb32c8e6ab..1bdbbefc272a0d3f80f85cec8e1e2766aea7f17f 100644 (file)
@@ -211,7 +211,7 @@ Here is an example session with a few queries and their answers:
    T = 1, clpb:sat(X=:=X*Y), clpb:sat(Y=:=Y*Z).
 
 ?- sat(1#X#a#b).
-   sat(X=:=a#b).
+   clpb:sat(X=:=a#b).
 ```
 
 The pending residual goals constrain remaining variables to Boolean
@@ -348,7 +348,7 @@ does compute =|XOR|= as intended:
 
 ```
 ?- xor(x, y, Z).
-sat(Z=:=x#y).
+   clpb:sat(Z=:=x#y).
 ```
 
 ## Acknowledgments