[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.
Fri, 19 Apr 2019 19:33:23 +0200
Am Do., 15. Feb. 2018 um 23:05 Uhr schrieb Clément Pit-Claudel
> On 2018-02-15 15:34, Philipp Stephani wrote:
> > Such a function is useful because in Emacs Lisp, 'gethash' cannot
> > return whether the key is present as in Common Lisp, and using
> > 'gethash' alone to test for presence is nontrivial.
> Looks useful to me :) Maybe the function should be called …-contains-key-p
> instead of …-contains-key?
It's called ...-contains-p, I think it's clear enough that this tests
for key presence and not value presence.
Any objections to pushing this one-liner to master?
|[Prev in Thread]
||[Next in Thread]|
- Re: [PATCH] Add new function to test whether a key is present in a hash table.,
Philipp Stephani <=