From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Adding assoc-delete-all / rassoc-delete-all Date: Thu, 17 Apr 2014 09:15:03 -0400 Message-ID: References: <87a9bkjibm.fsf@gnu.org> <87ioq8dvau.fsf@gmail.com> <8738hcjfqo.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1397740588 11657 80.91.229.3 (17 Apr 2014 13:16:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Apr 2014 13:16:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: Thorsten Jolitz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 17 15:16:23 2014 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 1WamAw-0006I9-QA for ged-emacs-devel@m.gmane.org; Thu, 17 Apr 2014 15:16:22 +0200 Original-Received: from localhost ([::1]:60870 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WamAw-0004xS-Bk for ged-emacs-devel@m.gmane.org; Thu, 17 Apr 2014 09:16:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wam9r-0003ar-1L for emacs-devel@gnu.org; Thu, 17 Apr 2014 09:15:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wam9j-0003BR-2o for emacs-devel@gnu.org; Thu, 17 Apr 2014 09:15:14 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:39611) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wam9i-0003AO-ME for emacs-devel@gnu.org; Thu, 17 Apr 2014 09:15:06 -0400 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s3HDF4Jx005810; Thu, 17 Apr 2014 09:15:04 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id D2391600DB; Thu, 17 Apr 2014 09:15:03 -0400 (EDT) In-Reply-To: <8738hcjfqo.fsf@gnu.org> (Tassilo Horn's message of "Thu, 17 Apr 2014 14:35:27 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4915=0 X-NAI-Spam-Version: 2.3.0.9378 : core <4915> : inlines <744> : streams <1161466> : uri <1732027> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:171469 Archived-At: > Strange that it compares with `eql'. Doesn't `eql' only allow comparing > floating point values in addition to what's allowed by `eq'? Common-Lisp simply uses `eql' by default "everywhere". That's because the semantics of `eq' is pretty weird, really: if it weren't for `eq' you could never tell the difference between two identical floats. So in many ways, `eq' is a mistake which lets details of implementation seep through. Oh, and IIUC `eql' is also different from `eq' on all other immutable objects (e.g. bignums). > And floats don't seem to be reasonable candidates for a `case' > distinction... Indeed, but comparing their addresses is even less desirable. Stefan