- pretty-printing hash tables revealed internal structures, fixed.

This commit is contained in:
Abdulaziz Ghuloum 2008-11-16 20:01:24 -05:00
parent c5a2026472
commit 020807ac06
3 changed files with 4 additions and 2 deletions

View File

@ -528,4 +528,7 @@
(number-hash (real-part x))
(number-hash (imag-part x)))]))
(set-rtd-printer! (type-descriptor hasht)
(lambda (x p wr)
(display "#<hashtable>" p)))
)

View File

@ -619,7 +619,6 @@
[(eq? x (void)) (write-char* "#<void>" p) i]
[(eof-object? x) (write-char* "#!eof" p) i]
[(bwp-object? x) (write-char* "#!bwp" p) i]
[(hashtable? x) (write-char* "#<hashtable>" p) i]
[(transcoder? x) (write-char* "#<transcoder>" p) i]
[(struct? x) (write-shared x p m h i write-struct)]
[(code? x) (write-char* "#<code>" p) i]

View File

@ -1 +1 @@
1685
1686