You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SWIPL ad SWISH: "ERROR: Syntax error: Operator expected" using #= #2
Activity
lorenzwinkler1 commentedon Feb 29, 2024
I just stumbled across the same issue. Apparently use_module is a directive and thus has to be put into a file.
What worked for me:
I don't know if you can import that
Then run
swi-prolog.swipl imports.pl. Afterwards running4 #= 2*Y.yields the expectedY=2.