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.
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 76 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 54:33:06 |
| Calls: | 1,265 |
| Calls today: | 1 |
| Files: | 1,362 |
| D/L today: |
3 files (2,684K bytes) |
| Messages: | 285,563 |