[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
REDUCE args
- To: common-lisp@SU-AI.ARPA
- Subject: REDUCE args
- From: ALR%OZ.AI.MIT.EDU@XX.LCS.MIT.EDU
- Date: Thu, 24 Jul 1986 17:11:00 -0000
- In-reply-to: Msg of 24 Jul 1986 00:23-EDT from NGALL at G.BBN.COM
Does anybody else wish that REDUCE took a KEY argument, similarly to MEMBER.
i.e.
(reduce #'+ list-of-objects :KEY #'object-quantity)
would apply the function OBJECT-QUANTITY to each element of the
list-of-objects before reducing it with +.
Andrew