[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: |
Doug Lewan |
Subject: |
RE: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp? |
Date: |
Tue, 17 Jun 2014 19:55:03 +0000 |
> -----Original Message-----
> From: Nicolas Petton
> Subject: Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs
> Lisp?
>
> Doug Lewan writes:
>
> > While I won't make assertions about how Emacs Lisp as a language
> should be, I am comfortable saying that I write code like the following
> a lot:
> >
> > (delete nil (mapcar ...))
>
> Do you mean that you are ok with using the above or that you'd like to
> have remove-if built into the language?
>
I only wanted to say that (*-if) would be very natural.
No language is perfect, if only because size versus completeness will never
have a balance that makes everyone happy. (Think: assembler on one end and ADA
on the other (or, gasp! Wolfram).) This is a compromise every programmer lives
with. Emacs Lisp has a pretty good library, but is big enough that I still find
new things just stumbling through the *Info*.
,Douglas
Douglas Lewan
Shubert Ticketing
(201) 489-8600 ext 224
LISP: The most intelligent way to misuse a computer.
- 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?, 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 <=
- 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, 2014/06/18
- 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