update answer to use the latest toplevel improvements

This commit is contained in:
Markus Triska
2020-04-19 19:17:00 +02:00
parent 4693c23a49
commit c0df8cb578

View File

@@ -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.