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: John Mastro <john.b.mastro@gmail.com>,
	Nicolas Petton <nicolas@petton.fr>,
	Daniel Colascione <dancol@dancol.org>,
	emacs-devel <emacs-devel@gnu.org>
Subject: Re: map.el and naming
Date: Sun, 12 Apr 2015 16:52:23 +0200	[thread overview]
Message-ID: <871tjp4cwo.fsf@petton.fr> (raw)
In-Reply-To: <jwv4mol1pfi.fsf-monnier+emacs@gnu.org>

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


Stefan Monnier writes:

>>>> "dict-" is short. "Dictionary" is another well-known name for a mapping
>>>> data structure.
>>> "dict-" is OK with me.
>> It would be fine (short and meaningful), but I don't really like how it
>> sounds.  I know I'm being picky here...
>
> I also prefer "map-" in general, FWIW.
>
>> Thanks for the suggestions everyone, I'll think about this for a while.
>
> So it seems the alternative is between finding a replacement for the
> "map, the type" (where "dict" is the best candidate so far) and finding
> a replacement for "map, the operation" (not sure what the best
> candidates would be here, maybe "iterate", or "loop", or "visit"?).

The candidate I like the most is "apply": `map-apply', `map-keys-apply'
and `map-values-apply'.

Nico
-- 
Nicolas Petton
http://nicolas-petton.fr

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

      parent reply	other threads:[~2015-04-12 14:52 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-28 12:24 map.el and naming Nicolas Petton
2015-02-28 13:32 ` Bozhidar Batsov
2015-03-03 15:58   ` bburns.km
2015-03-04  7:51     ` Nicolas Petton
2015-03-04  9:38       ` Nic Ferrier
2015-02-28 13:49 ` Eli Zaretskii
2015-02-28 16:21   ` Artur Malabarba
2015-03-02  5:31   ` Stefan Monnier
2015-03-02  7:38   ` Nicolas Petton
2015-03-02 13:20     ` Eli Zaretskii
2015-03-02 13:26       ` Nicolas Petton
2015-03-02 13:55         ` Eli Zaretskii
2015-03-02 14:33           ` Artur Malabarba
2015-03-02 14:49             ` Eli Zaretskii
2015-03-02 15:08               ` Artur Malabarba
2015-03-02 15:24               ` Stephen J. Turnbull
2015-03-02 16:53       ` Stefan Monnier
2015-03-03  3:14         ` Stephen J. Turnbull
2015-03-03 16:36           ` Stefan Monnier
2015-03-04  2:07             ` Stephen J. Turnbull
2015-03-02  5:29 ` Stefan Monnier
2015-03-02 13:59   ` Nicolas Petton
2015-04-11  0:52 ` Nicolas Petton
2015-04-11 13:53   ` Stefan Monnier
2015-04-11 14:07     ` Nicolas Petton
2015-04-11 13:55   ` Stefan Monnier
2015-04-11 14:11     ` Nicolas Petton
2015-04-11 14:24       ` John Yates
2015-04-11 14:32       ` Dmitry Gutov
2015-04-11 19:54         ` Artur Malabarba
2015-04-12  3:32         ` Stefan Monnier
2015-04-11 14:21     ` Artur Malabarba
2015-04-12  3:25       ` Stefan Monnier
2015-04-11 14:20   ` John Yates
2015-04-11 21:44   ` John Mastro
2015-04-12  3:34     ` Stefan Monnier
2015-04-12  7:12       ` Daniel Colascione
2015-04-12 11:48         ` Stefan Monnier
2015-04-12 11:59           ` Nicolas Petton
2015-04-12 12:53             ` Stefan Monnier
2015-04-12 13:38               ` Stephen J. Turnbull
2015-04-12 14:22                 ` Yuri Khan
2015-04-12 14:52               ` Nicolas Petton [this message]

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=871tjp4cwo.fsf@petton.fr \
    --to=nicolas@petton.fr \
    --cc=dancol@dancol.org \
    --cc=emacs-devel@gnu.org \
    --cc=john.b.mastro@gmail.com \
    --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.