I'm going through the "Learn Prolog Now!" ebook and I ran into this query:
?- loves(marsellus,X), woman(X). And I can't figure out how to do it in pilog. Is there a function that can test multiple queries at once, like or/2 does? thanks
I'm going through the "Learn Prolog Now!" ebook and I ran into this query:
?- loves(marsellus,X), woman(X). And I can't figure out how to do it in pilog. Is there a function that can test multiple queries at once, like or/2 does? thanks