When I want to run this code in ECLiPSe-CLP I get the following Error
Error:
string stream 27: syntax error: postfix/infix operator expected
| 4 $= X^2 + Y^2, (Error Mark is under '=')
|
Code:
circles(X, Y) :-
4 $= X^2 + Y^2,
4 $= (X - 1)^2 + (Y - 1)^2,
X $>= Y.