[plt-scheme] likely 3.99.0.22 -> 3.99.0.23 incompatibility: hash tables
At Tue, 8 Apr 2008 10:21:49 -0400 (EDT), Dimitris Vyzovitis wrote:
> On Tue, 8 Apr 2008, Matthew Flatt wrote:
>
> > At Mon, 7 Apr 2008 15:31:43 -0600, Matthew Flatt wrote:
> >
> > * Add `hash-set' (no "!"), which takes an immutable hash table and
> > functionally produces an extended one. Note that `#hash()' and
> > `#hasheq()' become useful base cases for inductively building up a
> > table with `hash-set'.
>
> Wouldn't it be better to call this hash-extend?
I much prefer to keep the mutating and functional names in parallel.
> hash-set implies a hash-table backed implementation of a set
Yes, and `hash-map' could similarly be misinterpreted.
Your point is taken, but I'm willing to put up with these lesser evils
in return for short and consistent names.
Matthew