From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: member inconsistency? Date: Thu, 28 Jan 2016 11:14:37 +0100 Message-ID: References: <87twly2iye.fsf@nicolasgoaziou.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1453976102 25553 80.91.229.3 (28 Jan 2016 10:15:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Jan 2016 10:15:02 +0000 (UTC) Cc: Nicolas Goaziou , emacs-devel@gnu.org To: Philipp Stephani Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 28 11:14:55 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aOjbK-0001kr-BP for ged-emacs-devel@m.gmane.org; Thu, 28 Jan 2016 11:14:54 +0100 Original-Received: from localhost ([::1]:55049 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOjbE-00073R-EK for ged-emacs-devel@m.gmane.org; Thu, 28 Jan 2016 05:14:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOjb8-00072K-QN for emacs-devel@gnu.org; Thu, 28 Jan 2016 05:14:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOjb5-00019v-Iv for emacs-devel@gnu.org; Thu, 28 Jan 2016 05:14:42 -0500 Original-Received: from mx2.suse.de ([195.135.220.15]:50224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOjb5-00019j-CR for emacs-devel@gnu.org; Thu, 28 Jan 2016 05:14:39 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Original-Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 8CF70AB45; Thu, 28 Jan 2016 10:14:37 +0000 (UTC) X-Yow: First, I'm going to give you all the ANSWERS to today's test.. So just plug in your SONY WALKMANS and relax!! In-Reply-To: (Philipp Stephani's message of "Thu, 28 Jan 2016 09:41:22 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 195.135.220.15 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:198938 Archived-At: Philipp Stephani writes: > Nicolas Goaziou 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, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."