2
I’m doing a job on Prolog and when trying to make a query it says there are "Singleton variables". For example, a part of the code:
s([Policia_X, Policia_Y, Ladrao_X, Ladrao_Y]) :- pode_andar_horizontal([Policia_X, Policia_Y]).
Returns the error:
Warning: c:/users/Leila/desktop/2018.2/ia/ia/trab1.pl:35: Singleton variables: [Ladrao_x,Ladrao_y]
What does that mean?