emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Add new function to test whether a key is present in a hash


From: John Wiegley
Subject: Re: [PATCH] Add new function to test whether a key is present in a hash table.
Date: Sun, 18 Feb 2018 22:02:56 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (darwin)

>>>>> "RC" == Richard Copley <address@hidden> writes:

RC> Or "testhash"? And maybe "tryhash" or "try-gethash" for a function that
RC> returns a cons or "slot" of some kind.

I like tryhash. All of the hash-table functions right now are a bit
unfortunately inconsistent in their naming. I'd rather have hash-table-get,
hash-table-has-key, etc.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2



reply via email to

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