Prolog Error: Full stop in clause-body? Cannot redefine ,/2 -
I have started learning prologo so far. I compiled a file with SWI-Prolog, but found an error message: Prolog error: full stop in clause-body?
My file:
loves (vincent, mia). Loves (Marsellus, Mia) Heartburn (X, Y): = Love (X, Z), Loves (Y, Z)
I understand that it should be: -, not: =.
try :- rather than :=
ReplyDelete