[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Consider adding hash-keys and hash-values
From: |
Stefan Monnier |
Subject: |
Re: Consider adding hash-keys and hash-values |
Date: |
Wed, 30 Oct 2013 09:11:02 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
>> (defun hash-keys (hashtable)
It would have to be "hash-table-keys".
But again, I'm not sure it provides a useful enough abstraction to
justify adding this one-liner in every Emacs executable.
Tho, maybe we could introduce a new file "oneliners.el" where we could
collect such functions (probably most/all defined as `defsubst' so that
you can (eval-when-compile (require 'oneliners)).
Stefan