[plt-scheme] v203.2
Matthew Flatt writes:
> * Added a syntax for listeral hash tables: #hash((<key> . <val>) ...)
> and #hasheq((<key> . <val>) ...). The former creates an immutable
> table with `equal?'-compared keys, the latter `eq?'-compared keys.
> Hash tables are printed using this notation when the new
> `print-hash-table' parameter is set to #t. The new
> `make-immutable-hash-table' procedure constructs an immutable table
> dynamically.
Excellent! That'll save me the step of initializing a table from an
alist. But, why are they immutable? Literal vectors aren't immutable.
--dougo at ccs.neu.edu