From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Petton Newsgroups: gmane.emacs.devel Subject: Re: Using gv in map and seq? Date: Tue, 16 Jun 2015 22:35:39 +0200 Message-ID: <871thbbdd0.fsf@petton.fr> References: <87egldxn7p.fsf@petton.fr> <878ublkrqe.fsf@petton.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1434486969 7595 80.91.229.3 (16 Jun 2015 20:36:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Jun 2015 20:36:09 +0000 (UTC) Cc: emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 16 22:35:56 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 1Z4xaN-0000di-Oj for ged-emacs-devel@m.gmane.org; Tue, 16 Jun 2015 22:35:55 +0200 Original-Received: from localhost ([::1]:42745 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4xaN-0005Da-0l for ged-emacs-devel@m.gmane.org; Tue, 16 Jun 2015 16:35:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4xaF-0005DT-Qa for emacs-devel@gnu.org; Tue, 16 Jun 2015 16:35:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4xaB-0000nG-IJ for emacs-devel@gnu.org; Tue, 16 Jun 2015 16:35:47 -0400 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:59195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4xaB-0000lZ-EX for emacs-devel@gnu.org; Tue, 16 Jun 2015 16:35:43 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id A789A21698 for ; Tue, 16 Jun 2015 16:35:41 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Tue, 16 Jun 2015 16:35:41 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=dbUQkN/DrmDFJtTOS0oY0iXQa4c=; b=Yed89 UgmsgUPuwDB9XYpfT+fD6q3/UrLXWRJXMcsNyifoxz2YDhu8odU9zxSDaJocvRiH BOmdBGEoW6Lvsev3CuMhIgkc4ZtOWfd78TlF6spH14GcrsYDpePBAGDQHtl3FmAr Tx6rAIwKZaFdZiOMDxxdQ5yiuojKrWuKlaqXF8= X-Sasl-enc: AVb+lLWJ8QwKf2kZT7wJBh3goAv8Rf1HVS20mZwixoEx 1434486941 Original-Received: from blueberry (unknown [80.216.74.58]) by mail.messagingengine.com (Postfix) with ESMTPA id F17E2C00021; Tue, 16 Jun 2015 16:35:40 -0400 (EDT) In-Reply-To: User-Agent: Notmuch/0.19 (http://notmuchmail.org) Emacs/25.0.50.3 (x86_64-unknown-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.29 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:187219 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Stefan Monnier writes: >> Something like the patch below seems to work (and it generalizes >> map-put to accept for MAP not only symbols but any "lvalue"). It also >> tightens the code generated by map--dispatch. But you have completely removed `map-put' here, right? Is it supposed to be implemented in terms of `map-elt' now that it is "set-able"? Nico =2D-=20 Nicolas Petton http://nicolas-petton.fr --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQEcBAEBAgAGBQJVgIibAAoJECM1h6R8IHkQRgYIAMB61F4xaFGMcCRnMPwpA9Tr 3QfRYs+2n/BfDOyFUFFO4YjNUE8+zKo+G2oEcH7T9q911hYibS1XHBLn+uDkNKnI 0WafJSQ4BBrht4VDf1gEVuvDE3TO1gzVQlMHz1Dp7x2I8Iffo27jFajAzlP5e1LA wXhWDxTUhpRkuFj8uuBrCFFU5gDVu1jUEYvF6mndhrFAJHA+bhQe+8mbSy6zhCZS 9ntTsneuUP71FMAGP4AYBCD91XLanZtBOi/9REKdqhjv1J68/2uMKfVP2ASEcXZ0 Mme6MI6F0TC0oezecURoHoJWUKFko6GvA7jKmnYW/P076fm68etb9fomMeMkR7o= =+R6W -----END PGP SIGNATURE----- --=-=-=--