correct README

This commit is contained in:
Mark Thom
2017-11-05 17:14:49 -07:00
parent 5568d0b370
commit ff9a1a60d8

View File

@@ -47,7 +47,7 @@ ideally, very fast) [Shen](http://shenlanguage.org) implementation.
The following predicates are built-in to rusty-wam. The following predicates are built-in to rusty-wam.
* Arithmetic support: * Arithmetic support:
** is/2 works for (+)/2, (-)/{1,2}, (*)/2, (//)/2, (div)/2. * is/2 works for (+)/2, (-)/{1,2}, (*)/2, (//)/2, (div)/2.
* atomic/1 * atomic/1
* call/N (1 <= N <= 63) * call/N (1 <= N <= 63)
* catch/3 * catch/3
@@ -136,5 +136,5 @@ arithmetic operators with the usual precedences,
``` ```
prolog> ?- X = -5 + 3 - (2 * 4) // 8. prolog> ?- X = -5 + 3 - (2 * 4) // 8.
true. true.
X = -(+(-(5), 3), /(*(2, 4), 8)). X = -(+(-(5), 3), //(*(2, 4), 8)).
``` ```