I am very new to prolog. Trying to learn it as much as possible in as little time as possible. Any help is greatly appreciated. I am using MacOS Sierra by the way.
I am trying to input these lines:
nextto(_A,_B).
nextto(_B,_C).
When I test using, prolog command window and execute this command:
?- nextto(A,C).
Isn't it supposed to return false?
Because, my compilation results in true, like this:
?- nextto(A,C).
true