Re: hash-table-delete! and return value Arthur A. Gleckler 26 Sep 2018 15:40 UTC
John Cowan <firstname.lastname@example.org> writes: | On Sun, May 21, 2017 at 5:42 AM, Peter Lane <email@example.com> 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.