Which means you can use LOOP:
(defun count-constraints-involvement (val list)
(loop for row in *rows*
when (and (find val row) (some (lambda (y) (find y row)) list)))
sum 1))
Or even:
(loop for row in *rows*
count (and (find val row)
(some (lambda (y) (find y row)) list)))
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 74 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 01:23:55 |
| Calls: | 1,194 |
| Files: | 1,352 |
| D/L today: |
1 files (1,580K bytes) |
| Messages: | 290,958 |