Timeline for How to test if any set of pairs contains elements of other list? no matter order of elements
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 19, 2014 at 9:47 | vote | accept | Mika Ike | ||
Apr 19, 2014 at 9:46 | comment | added | Mika Ike | Yes, I only refered to whats before OR@@.... to be a function. For other visitors.The solution seems to be includes[list_, tabu_] := Or @@ (MemberQ[Sort /@ tabu, #] & /@ Sort /@ list) ....as rasher said, and other colleague puts other deleted answer. The other was erroneus, I think , as you see in sensa.square7.ch/hgjkhfhgf0.jpg | |
Apr 19, 2014 at 9:29 | comment | added | ciao |
@MikaIke: Not sure if you're commenting @ me, mine gives correct True for the data in that image. Other answer was not mine...
|
|
Apr 19, 2014 at 9:24 | comment | added | Mika Ike | Could you put the complete solution? because the other answer were delted. I think that There was an error, as you can see in sensa.square7.ch/hgjkhfhgf0.jpg | |
Apr 19, 2014 at 9:16 | history | answered | ciao | CC BY-SA 3.0 |