[plt-scheme] Reading/writing hash-tables

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Oct 31 07:10:08 EDT 2007

At Tue, 30 Oct 2007 20:10:01 -0400, David Van Horn wrote:
> If I write a hash table, like this:
> 
>     (write #hash((f . (10))))
> 
> Then #hash((f 10)) is written on the current port, 

I see that we have a bug in `pretty-print' (which is used by DrScheme's
REPL), so that

 (pretty-print #hash((f . (10))))

prints

  #hash((f 10))

I'll fix that.


The built-in `write' works correctly, though.

Matthew



Posted on the users mailing list.