(Previous discussion continued)
Re: hash-table-delete! and return value Peter Lane 21 May 2017 09:42 UTC
Re: hash-table-delete! and return value John Cowan 21 May 2017 15:38 UTC
Re: hash-table-delete! and return value Arthur A. Gleckler 26 Sep 2018 15:40 UTC

Re: hash-table-delete! and return value Arthur A. Gleckler 26 Sep 2018 15:40 UTC

John Cowan <xxxxxx@ccil.org> writes:

| On Sun, May 21, 2017 at 5:42 AM, Peter Lane
<xxxxxx@peterlane.info> wrote:
|
|  I have created a pull request with a modified
hash-table-delete! to return the count of removed keys. This
|  includes some tests to verify behaviour.
|
| I bless this a little bit reluctantly (it's a wart to mutate the
variable instead of using named-let, but this is a
| mutational contexts anyway, so what the hell), but I do bless
it.

Thank you very much, Peter, John, and now Marc Nieper-Wißkirchen.
(Peter submitted a fix last year, and Marc just  submitted a
version of hash-table-delete! modified as John requested.)  I have
now published the updated code.

I apologize for losing track of this pull request for so long.  I
normally track unfinished business like this, but somehow missed
this one.