From: "Gerd Möllmann" <gerd.moellmann@gmail.com>
To: Shankar Rao <shankar.rao@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Is there utility in making hash-table-{keys, values} built-in functions?
Date: Thu, 28 Nov 2024 19:40:18 +0100 [thread overview]
Message-ID: <m24j3rcict.fsf@gmail.com> (raw)
In-Reply-To: <CAGEgU=gaGaN4QOt1s83xmJEJ1eJW1xqd94pE544ecPVuNb6Hew@mail.gmail.com> (Shankar Rao's message of "Thu, 28 Nov 2024 12:53:25 +0100")
Shankar Rao <shankar.rao@gmail.com> writes:
> Hello all,
>
> I noticed that the functions hash-table-keys and hash-table-values are
> just wrappers around maphash. This means that there is no way to
> iterate over a hash-table without using a lambda.
If this is about syntax, cl-loop has support for hash tables. For
example
for x being the hash-keys of something using (hash-value y)
prev parent reply other threads:[~2024-11-28 18:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-28 11:53 Is there utility in making hash-table-{keys, values} built-in functions? Shankar Rao
2024-11-28 17:31 ` Mattias Engdegård
2024-11-28 18:40 ` Gerd Möllmann [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
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=m24j3rcict.fsf@gmail.com \
--to=gerd.moellmann@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=shankar.rao@gmail.com \
/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).