[alexandria-devel] HASH-TABLE-NEXT worthwhile to have?

Andreas Fuchs asf at boinkor.net
Tue Jul 10 08:35:21 UTC 2007


Nikodemus Siivola wrote:
> Samium Gromoff wrote:
>> Would it be worthwhile to have something like this:
>>
>> (defun hash-table-next (hash-table)
>>   "Returns the first EXIST-P, KEY, VALUE triple in the HASH-TABLE it can
>>    get its hands on; otherwise, NIL."
>>   (with-hash-table-iterator (fn hash-table)
>>     (fn)))
> 
> What's the use-case?

I use something like this, named hash-table-contains-elements-p.

Cheers,
-- 
Andreas Fuchs, (http://|im:asf@|mailto:asf@)boinkor.net, antifuchs



More information about the alexandria-devel mailing list