member/2

member(?Element, ?Set)% is true when Set is a list, and Element occurs in it. It may be used% to test for an element or to enumerate all the elements by backtracking.% Indeed, it may be used to generate the Set!

member(? Element, ? Set)*

member(? Element, ? Set)*

True when Set is a list, and Element occurs in it. It may be used to test for an element or to enumerate all the elements by backtracking.

True when Set is a list, and Element occurs in it. It may be used to test for an element or to enumerate all the elements by backtracking.