Hello,
I am trying to become familiar with prolog and I am trying to do a simple compare of two lists.
For example, let's say that I provide two prolog facts:
list1([a,b,c]).
list2([w,x,y,z]).
Now how would I compare the two, I know there is length function but not sure how to use it.
Is it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.