[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp?
From: |
Phillip Lord |
Subject: |
Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp? |
Date: |
Wed, 18 Jun 2014 17:31:35 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Damien Cassou <damien.cassou@gmail.com> writes:
>
On Wed, Jun 18, 2014 at 4:43 PM, Barry Margolin <barmar@alum.mit.edu> wrote:
>
>> Why? Just to avoid having to do (require 'cl)? Or are you suggesting
>> that they should be rewritten in C and made primitive subrs?
>>
>
>
> I think Nicolas' problem is not the language in which the functions are
> implemented. In my opinion, the problems are:
>
> - that a (large) library must be loaded to have these 2 core functions
> (select a subset of elements, select one element). And this library is not
> required for similar functions like mapcar
>
> - that the name of the cl-lib functions are all prefixed by 'cl-' which
> makes them look weird for core functions
>
> I don't think Nicolas cares about the exact same features as cl-remove-if
> and cl-find-if. A very simple alternative (i.e., without the &rest cl-keys)
> would do the job.
I think that dash addresses most of these. The namespacing is minimal
(with a -) and it's not particularly large, although in these days of
fast machines, I am not sure that "large" is such a problem as it might
have been in the past. I am often surprised by how much emacs can do
nowadays which would have been slow before.
Phil
- Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp?, (continued)
- Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp?, Stefan Monnier, 2014/06/17
- Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp?, Nicolas Petton, 2014/06/17
- RE: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp?, Doug Lewan, 2014/06/17
- Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp?, Nicolas Petton, 2014/06/17
- RE: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp?, Doug Lewan, 2014/06/17
- Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp?, Stefan Monnier, 2014/06/17
- Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp?, Nicolas Petton, 2014/06/18
- Message not available
- Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp?, Stefan Monnier, 2014/06/18
- Message not available
- Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp?, Barry Margolin, 2014/06/18
- Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp?, Damien Cassou, 2014/06/18
- Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp?,
Phillip Lord <=
- Message not available
- Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp?, Christoph Wedler, 2014/06/24
- Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp?, Barry Margolin, 2014/06/24
- Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp?, Stefan Monnier, 2014/06/24
- Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp?, Leo Liu, 2014/06/25
- Message not available
- Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp?, Stefan Monnier, 2014/06/25
- Message not available
- Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp?, Christoph Wedler, 2014/06/25
- Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp?, Stefan Monnier, 2014/06/25
- Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp?, Stefan Monnier, 2014/06/25
- Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp?, Barry Margolin, 2014/06/25
- Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp?, Robert Thorpe, 2014/06/25