Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 27 |
Nodes: | 6 (0 / 6) |
Uptime: | 38:58:11 |
Calls: | 631 |
Calls today: | 2 |
Files: | 1,187 |
D/L today: |
23 files (29,781K bytes) |
Messages: | 174,061 |
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.