Prolog Error: Full stop in clause-body? Cannot redefine ,/2 -
i started learning prolog. compiled file swi-prolog got error message: prolog error: total stop in clause-body?
my file:
loves( vincent , mia ) . loves( marsellus , mia ) . jealous(x,y) := loves(x,z) , loves(y,z) .
silly me realised should :-, not :=.
compiler-errors prolog
No comments:
Post a Comment