> (MAKE-x-HASH-TABLE* <weakness> #!OPTIONAL <initial-size>),
> x \in {EQ, EQV, EQUAL, STRING}
I wonder whether it makes sense to make X a parameter, too. That
wouldn't prevent special treatment of EQ.
The other obvious possibility is to make a hash table constructor
maker, i.e. to curry the construction of hash tables, e.g.:
((make-hash-table-constructor comparator weakness) initial-size)
That requires the addition of the fewest new identifiers. We can
watch to see which combinations are actually used and then make
shortcut identifiers for them.
Keep painting!
_______________________________________________
MIT-Scheme-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/mit-scheme-devel