pretty-print bug for hash tables fixed

svn: r290
This commit is contained in:
Matthew Flatt 2005-07-01 15:35:52 +00:00
parent 322b1b312a
commit 6f16af82f2

View File

@ -668,9 +668,9 @@
#f #f
(lambda ()
(out "#hash")
(wr-lst (hash-table-map obj cons) #f depth))
(wr-lst (hash-table-map obj cons) #f depth)))
(parameterize ([print-hash-table #f])
((if display? orig-display orig-write) obj pport))))]
((if display? orig-display orig-write) obj pport)))]
[(boolean? obj)
(out (if obj "#t" "#f"))]
[(number? obj)