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: [Emacs-diffs] map 988d721: Add a pcase pattern for maps and `map-let' based on it Date: Fri, 05 Jun 2015 10:09:23 +0200 Message-ID: <87bngupoek.fsf@petton.fr> References: <20150602201956.22733.21800@vcs.savannah.gnu.org> <87eglrmdmp.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 1433491811 28324 80.91.229.3 (5 Jun 2015 08:10:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Jun 2015 08:10:11 +0000 (UTC) Cc: Nicolas Petton , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 05 10:09: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 1Z0mh5-0002pc-DK for ged-emacs-devel@m.gmane.org; Fri, 05 Jun 2015 10:09:35 +0200 Original-Received: from localhost ([::1]:45755 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0mh4-0002IH-Ew for ged-emacs-devel@m.gmane.org; Fri, 05 Jun 2015 04:09:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0mh0-0002IB-Lq for emacs-devel@gnu.org; Fri, 05 Jun 2015 04:09:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0mgv-0000zj-Nq for emacs-devel@gnu.org; Fri, 05 Jun 2015 04:09:30 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:51195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0mgv-0000za-KC for emacs-devel@gnu.org; Fri, 05 Jun 2015 04:09:25 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 85F7E20A83 for ; Fri, 5 Jun 2015 04:09:25 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Fri, 05 Jun 2015 04:09:25 -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=QNkzu4K6OJFq8dO7DnkMfzFw+TU=; b=iGoVQ znRdO1xQWECXQBHQoRAGSou+hp6NVcg/TyUP3HU48Dk282YTHxwoJ/WvTaCwg+A4 k5q6bN8j9iZucxLukqj6W78+hjIyKEDrLcJqDe9Eo5JE3EDCaXHJn1WjJINzjmKm r7pc8G7zi5Jl1NzgGdFbvLSz3Xsm+m7/vUg9ZY= X-Sasl-enc: CU6L3efapCN0iyioiNFV7SLF9tifchwGCAu697MAwAKY 1433491765 Original-Received: from blueberry (unknown [31.211.216.84]) by mail.messagingengine.com (Postfix) with ESMTPA id B3320680183; Fri, 5 Jun 2015 04:09:24 -0400 (EDT) In-reply-to: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.28 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:187028 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Stefan Monnier writes: >>> - let KEY be evaluated rather than having it be quoted. I.e. require >>> the programmer to write 'a when looking up the key `a'. It costs an >>> extra quote in some/many cases, but does give you extra power. >> Do you think it would be worth it? I'm not sure. > > Not sure either; it will clearly depend on actual uses. > This said, if the main case where the quote would be needed is when KEY > is a (non-keyword) symbol, then it's probably worth the extra > flexibility since you could say that an element of the form SYMBOL is > treated as equivalent to ('SYMBOL SYMBOL), so the extra quote will be > very rarely needed. Good point. 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 iQEcBAEBAgAGBQJVcVkzAAoJECM1h6R8IHkQEo0H/Aj5e1qs+yMPn4LEB2WgYuNl AsEVZygA2vRG9yNoXV9leMoIltHuA3tTfogmfVh08n4JCw23j/W9V/sRIXYhEBM3 KfyGkqHpY0DV18gFsfdjU5a/mzbDXBfbxRTg/09PZxJaFuPBgICqOCbA6UmN5Qgk 7qfXPI1GSRlFwClN0aHiPVwxQufEOVk4OnTsMOr8WxeDx8k8l5QZBRNoakWN6zzf kfQR1acskpsh0epbisz8Xd5Uvk8QJHh+UAaWJM8vtgqNcdj3tehyjS/INP0fb4Ly Q6vlQRkPu4GX6CkMIkid6X7Y80TaaxmOHWNa6HlBsqwcdVg7Kls0a+bot1SYow4= =4KTr -----END PGP SIGNATURE----- --=-=-=--