make-eq-hash-table & Co. Marc Nieper-Wißkirchen (05 May 2020 15:31 UTC)
Re: make-eq-hash-table & Co. John Cowan (05 May 2020 18:30 UTC)
Re: make-eq-hash-table & Co. Marc Nieper-Wißkirchen (05 May 2020 19:59 UTC)
Re: make-eq-hash-table & Co. John Cowan (05 May 2020 19:15 UTC)

Re: make-eq-hash-table & Co. Marc Nieper-Wißkirchen 05 May 2020 18:53 UTC

Am Di., 5. Mai 2020 um 20:30 Uhr schrieb John Cowan <xxxxxx@ccil.org>:
>
> I don't see much point in that.  Even though   (make-hash-table eq?) is deprecated, it's still part of SRFI 125 and R7RS-large.  So you are saving all of one character with eq-hash-table.  It's true that the other procedures require SRFI 128, but they are much less used.

The other procedures could take equivalence predicates instead of
comparators with no problem. The problem, however, is that the
deprecated functions are deprecated. First of all, you don't want to
use procedures in your code that may go away in the next iteration of
the standard. More importantly, however, implementations may write
warnings to stderr when you use deprecated procedures, which the
reference implementation of SRFI 125 does. You don't want this for
programs you want to share.