all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Petton <nicolas@petton.fr>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Nicolas Petton <nicolas@petton.fr>, emacs-devel@gnu.org
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	[thread overview]
Message-ID: <87bngupoek.fsf@petton.fr> (raw)
In-Reply-To: <jwv6173w19r.fsf-monnier+emacsdiffs@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 739 bytes --]


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
-- 
Nicolas Petton
http://nicolas-petton.fr

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 512 bytes --]

  reply	other threads:[~2015-06-05  8:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20150602201956.22733.21800@vcs.savannah.gnu.org>
     [not found] ` <E1YzsfE-0005vH-4d@vcs.savannah.gnu.org>
2015-06-03  1:06   ` [Emacs-diffs] map 988d721: Add a pcase pattern for maps and `map-let' based on it Stefan Monnier
2015-06-04 20:18     ` Nicolas Petton
2015-06-04 22:39       ` Stefan Monnier
2015-06-05  8:09         ` Nicolas Petton [this message]
2015-06-07 18:36         ` Michael Heerdegen
2015-06-08 14:16           ` Stefan Monnier
2015-06-08 15:34             ` Michael Heerdegen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bngupoek.fsf@petton.fr \
    --to=nicolas@petton.fr \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.