help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: [External] : Re: Emacs 30.0 warning from `cl-pushnew' and `memql'


From: Emanuel Berg
Subject: Re: [External] : Re: Emacs 30.0 warning from `cl-pushnew' and `memql'
Date: Wed, 28 Dec 2022 20:24:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Drew Adams wrote:

>> I see. Well, that train has sailed (or something).
>> Backward compat (especially with user's brains) and things.
>
> I think that's the wrong way to think about this.
> The default for `cl-pushnew' should be `eql' because the
> default for CL `pushnew' is `eql'. End of story.

Yeah, it gets easier that way, for sure.

> If a better default predicate exists for Elisp then Elisp
> should add its own `pushnew', using that better predicate
> as default.

Indeed, note that it doesn't have to be a matter of a single
function being the one default, it can be many defaults
depending on the type of the argument value.

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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