[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: map.el and naming
From: |
Nicolas Petton |
Subject: |
Re: map.el and naming |
Date: |
Sun, 12 Apr 2015 16:52:23 +0200 |
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
signature.asc
Description: PGP signature
- Re: map.el and naming, (continued)
- Re: map.el and naming, John Yates, 2015/04/11
- Re: map.el and naming, John Mastro, 2015/04/11
- Re: map.el and naming, Stefan Monnier, 2015/04/11
- Re: map.el and naming, Daniel Colascione, 2015/04/12
- Re: map.el and naming, Stefan Monnier, 2015/04/12
- Re: map.el and naming, Nicolas Petton, 2015/04/12
- Re: map.el and naming, Stefan Monnier, 2015/04/12
- Re: map.el and naming, Stephen J. Turnbull, 2015/04/12
- Re: map.el and naming, Yuri Khan, 2015/04/12
- Re: map.el and naming,
Nicolas Petton <=