[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CL package serious deficiencies

From: Lars Ingebrigtsen
Subject: Re: CL package serious deficiencies
Date: Fri, 10 Feb 2012 19:55:37 +0100
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux)

Stefan Monnier <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]