Hi,
I am trying to write a predicate that given two lists, will succeed if at least one element from the first list is in the second.
I.E
A = [1,2,3,4,5]
B = [3,6,7,8,9]
Would succeed.
A = [1,2,3,4,5]
B = [7,6]
Would fail.
Thanks
Ben
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.