+ "Alan Manuel K. Gloria" <········@gmail.com>:
| (defun on-member-if (predicate list &key (key #'(lambda (x) x))
| (loop for x on list
| when (funcall predicate (funcall key x))
| return x))
Minor nit: #'(lambda (x) x) is also known as #'identity.
--
* Harald Hanche-Olsen <URL:http://www.math.ntnu.no/~hanche/>
- It is undesirable to believe a proposition
when there is no ground whatsoever for supposing it is true.
-- Bertrand Russell