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: Miles Bader
Subject: Re: moving more cl seq/mapping support into core
Date: Sun, 26 Sep 2010 06:26:44 +0900

On Sat, Sep 25, 2010 at 11:42 PM, Drew Adams <address@hidden> wrote:
>> For instance, `remove-if' is obviously useful (I think it's
>> often one of those "I use cl.el for that function" functions), not
>> complex, and could probably be moved into the core in some
>> simplified form.
>>
>> Suggested function signature:  (remove-if PREDICATE SEQ [TEST]) -- and
>> of course, change the cl.el version to deal with TEST as well.
>
> +1 for remove-if(-not)
>
> But I don't know what you meant by TEST.
> AFAIK, the CL signature is this:
>
> remove-if PREDICATE SEQ &key :from-end :start :end :count :key
>
> Maybe you were thinking of `remove', which has `:test'?

Ah, yes, indeed.  That makes adding remove-if even simpler of course!

-miles

-- 
Cat is power.  Cat is peace.



reply via email to

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