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: [Emacs-diffs] map 988d721: Add a pcase pattern for maps and `map-let' based on it Date: Mon, 08 Jun 2015 10:16:34 -0400 Message-ID: References: <20150602201956.22733.21800@vcs.savannah.gnu.org> <87eglrmdmp.fsf@petton.fr> <87zj4bfjrt.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1433773026 30716 80.91.229.3 (8 Jun 2015 14:17:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Jun 2015 14:17:06 +0000 (UTC) Cc: Nicolas Petton , emacs-devel@gnu.org To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 08 16:16:57 2015 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 1Z1xrE-0000bO-Qj for ged-emacs-devel@m.gmane.org; Mon, 08 Jun 2015 16:16:56 +0200 Original-Received: from localhost ([::1]:58239 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1xrE-0001BC-6t for ged-emacs-devel@m.gmane.org; Mon, 08 Jun 2015 10:16:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1xqx-0001B3-IE for emacs-devel@gnu.org; Mon, 08 Jun 2015 10:16:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1xqu-0002uw-6R for emacs-devel@gnu.org; Mon, 08 Jun 2015 10:16:39 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:40872) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1xqu-0002uc-1P for emacs-devel@gnu.org; Mon, 08 Jun 2015 10:16:36 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t58EGYCs013352; Mon, 8 Jun 2015 10:16:34 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 2B890AE13F; Mon, 8 Jun 2015 10:16:34 -0400 (EDT) In-Reply-To: <87zj4bfjrt.fsf@web.de> (Michael Heerdegen's message of "Sun, 07 Jun 2015 20:36:22 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered GEN_SPAM_FEATRE=0.2, RV5331=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5331> : inlines <3172> : streams <1452073> : uri <1952839> 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:187095 Archived-At: > Perhaps we should also say that only one occurrence of KEY is tested in > the alist case (is that true?), e.g. The usual semantics of alists is that a new element completely hides earlier elements for the same key. Otherwise, it's not a "map" any more, but a general relation. Stefan