update answer to use the latest toplevel improvements
This commit is contained in:
@@ -185,8 +185,8 @@ arithmetic operators with the usual precedences,
|
|||||||
|
|
||||||
```
|
```
|
||||||
?- write_canonical(-5 + 3 - (2 * 4) // 8), nl.
|
?- write_canonical(-5 + 3 - (2 * 4) // 8), nl.
|
||||||
-(+(-5,3),//(*(2,4),8))
|
-(+(-5,3),//(*(2,4),8))
|
||||||
true.
|
true.
|
||||||
```
|
```
|
||||||
|
|
||||||
New operators can be defined using the `op` declaration.
|
New operators can be defined using the `op` declaration.
|
||||||
|
|||||||
Reference in New Issue
Block a user