]> Repositorios git - scryer-prolog.git/commitdiff
update answer to use the latest toplevel improvements
authorMarkus Triska <[email protected]>
Sun, 19 Apr 2020 17:17:00 +0000 (19:17 +0200)
committerMarkus Triska <[email protected]>
Sun, 19 Apr 2020 17:18:47 +0000 (19:18 +0200)
README.md

index 652e7b9869f674bcd4eb89b448ea1cd6236ccedf..d0c06988078ce44acb470ec83b39dbdac1eec557 100644 (file)
--- a/README.md
+++ b/README.md
@@ -185,8 +185,8 @@ arithmetic operators with the usual precedences,
 
 ```
 ?- write_canonical(-5 + 3 - (2 * 4) // 8), nl.
-   -(+(-5,3),//(*(2,4),8))
-true.
+-(+(-5,3),//(*(2,4),8))
+   true.
 ```
 
 New operators can be defined using the `op` declaration.