Answers for "last prolog"

0

last prolog

?- last([a,b,foo],foo).
true.


?- last([a,b,foo],bar).
false.
Posted by: Guest on May-23-2021

Browse Popular Code Answers by Language