From: Bozhidar Batsov <bozhidar@batsov.com>
To: Nicolas Petton <nicolas@petton.fr>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Obsoleting hash-table-* functions in subr-x in favor of map-* functions
Date: Mon, 22 Jun 2015 08:43:56 +0300 [thread overview]
Message-ID: <CAM9Zgm1DqaLQGwWFmVQRA4kApOUuKgyO=ZwZzJU2c8xtK_tAbg@mail.gmail.com> (raw)
In-Reply-To: <CAM9Zgm3a0gvGTGKOnzLWyJw0u7shxv_vj3YfVyn_rZhW7yz91Q@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1099 bytes --]
P.S. I'm aware this was borrowed from the likes of Clojure (as was seq),
but sometimes it's not a great idea to bring in external terminology 1:1.
Anyways, that's not major. When I added those hash-table specific function
the point was to extend a specific API, not to look for some generic
solution.
On 22 June 2015 at 08:28, Bozhidar Batsov <bozhidar@batsov.com> wrote:
> Sounds a bit strange to me. Those are somewhat basic hash-table-specific
> stuff. If you're going to obsolete them, why not obsolete everything except
> hash-table constructors? Somewhere a line has to be drawn.
>
> Btw, I'm still not sure about the "map" naming, as this is a term that's
> not used at all in Emacs Lisp terminology and will be the source of a lot
> of confusing I guess.
>
> On 21 June 2015 at 21:58, Nicolas Petton <nicolas@petton.fr> wrote:
>
>> Hi,
>>
>> I'm thinking about obsoleting `hash-table-empty-p', `hash-table-keys'
>> and `hash-table-values' defined in subr-x in favor of their map-*
>> equivalent.
>>
>> WDYT?
>>
>> Cheers,
>> Nico
>> --
>> Nicolas Petton
>> http://nicolas-petton.fr
>>
>
>
[-- Attachment #2: Type: text/html, Size: 1930 bytes --]
next prev parent reply other threads:[~2015-06-22 5:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-21 18:58 Obsoleting hash-table-* functions in subr-x in favor of map-* functions Nicolas Petton
2015-06-22 5:28 ` Bozhidar Batsov
2015-06-22 5:43 ` Bozhidar Batsov [this message]
2015-06-22 7:28 ` Nicolas Petton
2015-06-22 7:27 ` Nicolas Petton
2015-06-22 10:46 ` Bozhidar Batsov
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAM9Zgm1DqaLQGwWFmVQRA4kApOUuKgyO=ZwZzJU2c8xtK_tAbg@mail.gmail.com' \
--to=bozhidar@batsov.com \
--cc=emacs-devel@gnu.org \
--cc=nicolas@petton.fr \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).