Closed mcalejo closed 7 years ago
The following succeeds on SWI Prolog:
XX = ( Block \= table, location(_,Block) ).
... but it reports a syntax error on SWISH (last github version, 38d02d2)
XX = ( Block \= table, location(_,Block) ). ^ Syntax error: Operator expected
Changing 'table' to some other atom (or putting () around Block \= table ) removes the error
SWISH preloads library(tabling) which defines table as an operator. Use Block = (table) or, SWI-Prolog specific: Block = 'table'.
table
Block = (table)
Block = 'table'
The following succeeds on SWI Prolog:
XX = ( Block \= table, location(_,Block) ).
... but it reports a syntax error on SWISH (last github version, 38d02d2)
XX = ( Block \= table, location(_,Block) ). ^ Syntax error: Operator expected
Changing 'table' to some other atom (or putting () around Block \= table ) removes the error