Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 26 |
Nodes: | 6 (0 / 6) |
Uptime: | 59:23:57 |
Calls: | 633 |
Calls today: | 1 |
Files: | 1,188 |
D/L today: |
32 files (20,076K bytes) |
Messages: | 180,583 |
I have 2 sets - set1 ((a 1) (b 2) (c 3) (d 4)) and set2 (b c) -
and want something like a set difference.
With (remove-if (lambda (x) (member (car x) set2)) set1) I can
get what I want ((A 1) (D 4)).
I just wonder if it's possible to use set-difference with some
key or test function to get the same result. It should compare
(car member) in the first set with member in the second set.