help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hash tables - how to look up values?


From: Thorsten Jolitz
Subject: Hash tables - how to look up values?
Date: Wed, 04 Jul 2012 15:48:09 +0200
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]