‘if’ in prolog?

A standard prolog predicate will do this. will evaluate to true if you call it with 5 and fail(return false) if you run it with anything else. For not equal you use \= Technically it is does not unify, but it is similar to not equal. Learn Prolog Now is a good website for learning … Read more

tech