emacs-devel
[Top][All Lists]
Advanced

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

Re: moving more cl seq/mapping support into core


From: David Kastrup
Subject: Re: moving more cl seq/mapping support into core
Date: Sat, 25 Sep 2010 17:33:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Leo <address@hidden> writes:

> On 2010-09-25 16:23 +0100, Drew Adams wrote:
>> Sorry, I don't get it.  What is TEST for?  It is typically for a binary
>> predicate such as `equal' - but we already have PREDICATE here.  And just 
>> what
>> is second class here (if TEST is not added)?
>
> `remove-if' as defined in cl.el can not be used in a package intended to
> be included in GNU Emacs due to the use of cl run time functions.
>
> So to move this function into elisp Miles (I think) proposed that we
> give up some of its keyword arguments since they mostly are not used and
> turned the keyword :test argument into an optional one.

I found that quite a few use cases can be dealt with by using the idiom
(delq nil ...)
instead.

-- 
David Kastrup




reply via email to

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