From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: CL package serious deficiencies Date: Fri, 10 Feb 2012 19:55:37 +0100 Message-ID: <87pqdmjz6e.fsf@gnus.org> References: <33271707.post@talk.nabble.com> <87fwemcwlx.fsf@spindle.srvr.nix> <87d39pgdu4.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1328900163 1108 80.91.229.3 (10 Feb 2012 18:56:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Feb 2012 18:56:03 +0000 (UTC) Cc: Helmut Eller , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 10 19:56:02 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rvvda-0005oS-B2 for ged-emacs-devel@m.gmane.org; Fri, 10 Feb 2012 19:56:02 +0100 Original-Received: from localhost ([::1]:57061 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvvdZ-0007RS-Vp for ged-emacs-devel@m.gmane.org; Fri, 10 Feb 2012 13:56:01 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:34923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvvdU-0007RB-Gm for emacs-devel@gnu.org; Fri, 10 Feb 2012 13:56:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvvdP-0007cH-Om for emacs-devel@gnu.org; Fri, 10 Feb 2012 13:55:56 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:57619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvvdP-0007YV-Jc for emacs-devel@gnu.org; Fri, 10 Feb 2012 13:55:51 -0500 Original-Received: from 93-41-188-50.ip82.fastwebnet.it ([93.41.188.50] helo=rusty) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1RvvdE-0007mu-A0; Fri, 10 Feb 2012 19:55:40 +0100 In-Reply-To: (Stefan Monnier's message of "Fri, 10 Feb 2012 13:51:14 -0500") User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux) X-MailScanner-ID: 1RvvdE-0007mu-A0 MailScanner-NULL-Check: 1329504940.5696@cBSKZPa+ChzHsXSdQ+sBUA X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:148456 Archived-At: Stefan Monnier writes: > I much prefer a leaner approach where instead of (delete-if #'foo :key #'bar) > you have to write (delete-if (lambda (x) (foo (bar x)))). > As for :start :end :from-end and :count, I've never even seen them used > with delete-if. > > The :key in `sort*' makes sense. Not in `delete-if'. I agree. I suspect the CL standard adds all these keywords to all the sequence functions mostly for consistency. :key is quite nice for `assoc' and `member', though. -- (domestic pets only, the antidote for overdose, milk.) http://lars.ingebrigtsen.no * Sent from my Rome