Dear Jan, all
In the context of supporting R's logical operators in Real, a number of
SWI operator restrictions surfaced.
If any can be reclaimed, it would be greatly appreciated.
?- op( 400, xfx, != ).
ERROR: Syntax error: Unbalanced operator
ERROR: op( 400, xfx, !=
ERROR: ** here **
ERROR: ) .
?- op(400,xfy, | ).
ERROR: Syntax error: Operand expected, unquoted comma or bar found
ERROR: op(400,xfy,
ERROR: ** here **
ERROR: | ) .
[the following gets you stuck. need ^d to come out of inner prompt.]
?- op(400,xfy, || ).
| .
| ).
| ).
| ERROR: Stream user_input:28:2 Syntax error: end_of_file_in_quasi_quotation
?- op(400,xfy, ;; ).
ERROR: Syntax error: Unexpected `;' before `)'
ERROR: op(400,xfy, ;;
ERROR: ** here **
ERROR: ) .
?-
Thanks in advance,
Nicos Angelopoulos
---
http://stoics.org.uk/~nicos