[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: member returns list
From: |
Barry Margolin |
Subject: |
Re: member returns list |
Date: |
Fri, 04 Sep 2015 13:26:03 -0400 |
User-agent: |
MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) |
In article <mailman.502.1441349470.19560.help-gnu-emacs@gnu.org>,
Marcin Borkowski <mbork@mbork.pl> wrote:
> On 2015-09-04, at 03:03, Emanuel Berg <embe8573@student.uu.se> wrote:
>
> > Marcin Borkowski <mbork@mbork.pl> writes:
> >
> >> memq
> >
> > Hot!
> >
> > Love Emacs and Lisp inconsistency!
>
> assq
> delq
> memq
> rassq
> remq
>
> ...inconsistency?
FYI, all those names were inherited from Maclisp. The q at the end of
the names reflects that they use eq as the comparison function.
Conversely, the functions that use equal have long names like delete,
member, remove. The consistency is that the fully-spelled-out list
functions use the fully-spelled-out comparison.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
- computer history (was: Re: member returns list), (continued)
- computer history (was: Re: member returns list), Emanuel Berg, 2015/09/15
- Message not available
- Re: member returns list, Pascal J. Bourguignon, 2015/09/12
- Re: member returns list, Emanuel Berg, 2015/09/12
- Message not available
- Re: member returns list, Pascal J. Bourguignon, 2015/09/12
- Re: member returns list, Emanuel Berg, 2015/09/13
- Re: member returns list, Eli Zaretskii, 2015/09/12
- Message not available
- Re: member returns list, Pascal J. Bourguignon, 2015/09/10
- Re: member returns list, Emanuel Berg, 2015/09/11
- RE: member returns list, Drew Adams, 2015/09/06
- RE: member returns list, Drew Adams, 2015/09/06
- Message not available
- Re: member returns list,
Barry Margolin <=
- Re: member returns list, Emanuel Berg, 2015/09/05
- member (was: Re: To `boundp' or not to `boundp'?), Emanuel Berg, 2015/09/01
- Message not available
- Re: member returns list (was: Re: To `boundp' or not to `boundp'?), Barry Margolin, 2015/09/02
- Re: member returns list (was: Re: To `boundp' or not to `boundp'?), Emanuel Berg, 2015/09/02
- Message not available
- Re: member returns list (was: Re: To `boundp' or not to `boundp'?), Barry Margolin, 2015/09/02
- Re: member returns list (was: Re: To `boundp' or not to `boundp'?), Emanuel Berg, 2015/09/02
- Message not available
- Re: member, Pascal J. Bourguignon, 2015/09/03
- Re: member, Emanuel Berg, 2015/09/03
Re: To `boundp' or not to `boundp'?, Stefan Monnier, 2015/09/01