Re: Fwd: [srfi-126] Draft #3. (#2)
John Cowan 12 Sep 2015 22:19 UTC
Taylan Ulrich Bayırlı/Kammer scripsit:
> - (hashtable-find proc hashtable)
>
> Applies proc to associations in hashtable in an unspecified order until
> one of the applications returns a true value. Returns three values:
> the key and value of the matched entry or unspecified values if none
> matched, and a Boolean indicating whether any matched.
This seems like overkill: if that's what you want proc to return, it can
return it, and if you only care about some of it, you arrange for proc
to return what's useful to you.
--
John Cowan http://www.ccil.org/~cowan xxxxxx@ccil.org
Cash registers don't really add and subtract;
they only grind their gears.
But then they don't really grind their gears, either;
they only obey the laws of physics. --Unknown