Hi everybody, I'm a new user...and I hope that this forum can help me!!!
I've got a list composed by the following elements: (a,b,c,d,e,f,g,h,e)...(the 'e' char is present two times)
ok now I have to verify if the 'e' char belongs to the list. The code is very simple:
member(X,[X|_])...
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.