emacs-devel
[Top][All Lists]
Advanced

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

Re: member inconsistency?


From: Andreas Schwab
Subject: Re: member inconsistency?
Date: Thu, 28 Jan 2016 11:14:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Philipp Stephani <address@hidden> writes:

> Nicolas Goaziou <address@hidden> schrieb am Do., 28. Jan. 2016 um
> 09:41 Uhr:
>
>> Hello,
>>
>> The following behaviour is surprising
>>
>>   (assq 'a 'b)   => #ERROR
>>   (memq 'a 'b)   => #ERROR
>>   (assoc 'a 'b)  => #ERROR
>>
>
> For completeness, memql and assq have the same behavior.

memql works like member if looking for a float, like memq otherwise.

Andreas.

-- 
Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



reply via email to

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