[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
Re: [PATCH] Add new function to test whether a key is present in a hash table.
Sun, 18 Feb 2018 14:29:33 +0000
On 16 February 2018 at 06:51, John Wiegley <address@hidden> wrote:
>>>>>> "DA" == Drew Adams <address@hidden> writes:
> DA> 2. The function name should have `key' in it, I think. Suggestion:
> DA> `hash-table-contains-key-p' or even just `hash-table-key-p'.
> It seems a bit strange that the name isn't something like "hashash", since
> knowing "puthash" and "gethash" would never help you guess
Or "testhash"? And maybe "tryhash" or "try-gethash" for a function that
returns a cons or "slot" of some kind.