[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: map.el and naming
From: |
Stefan Monnier |
Subject: |
Re: map.el and naming |
Date: |
Sat, 11 Apr 2015 23:32:01 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
>> `map-map-keys', `map-map-values' and `map-map' are the issue here.
> Why not drop the first `map-' in the function names?
Because map-keys would most naturally be the name of a function which
returns the keys of a map.
> Naming both the package and one of the functions in it simply `map' sounds
> good to me.
For map-map, we could live with just "map", indeed, in theory, but...
> That would conflict with `map' alias in cl.el, though...
Indeed, that would be a problem (while cl.el is being phased out, it's
still in very common use, so the conflict would bite rather often).
Stefan
- Re: map.el and naming, Nicolas Petton, 2015/04/10
- 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