unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Hash tables - how to look up values?
@ 2012-07-04 13:48 Thorsten Jolitz
  2012-07-04 14:09 ` Teemu Likonen
  2012-07-04 14:09 ` Bastien
  0 siblings, 2 replies; 6+ messages in thread
From: Thorsten Jolitz @ 2012-07-04 13:48 UTC (permalink / raw)
  To: help-gnu-emacs


Hi List, 
I would need a function that does the opposite of 

,--------------------
| (gethash key table)
`--------------------

i.e. something like 

,-------------------
| (getkey val table)
`-------------------

that returns the corresponding key of a known (string) value in a hash
table (similar to 'rassoc' for alists). 

I could not find such a function - does it exist already?

-- 
cheers,
Thorsten





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-07-04 14:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.4023.1341409554.855.help-gnu-emacs@gnu.org>
2012-07-04 13:59 ` Hash tables - how to look up values? Pascal J. Bourguignon
2012-07-04 14:21   ` Thorsten Jolitz
2012-07-04 13:48 Thorsten Jolitz
2012-07-04 14:09 ` Teemu Likonen
2012-07-04 14:09 ` Bastien
2012-07-04 14:31   ` Thorsten Jolitz

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).