Using brace-notation for write/ss for records not containing any shares.

This commit is contained in:
Alex Shinn 2012-06-02 20:11:54 +09:00
parent a56b497a00
commit befe63d6ba

View file

@ -55,10 +55,6 @@
(set-cdr! cell count)
(set! count (+ count 1))))
(cont x cell)))))
(cond
((null? shared)
(write x out))
(else
(let wr ((x x))
(check-shared
x
@ -106,7 +102,7 @@
(and (type? type) (type-printer type)))
=> (lambda (printer) (printer x wr out)))
(else
(write x out))))))))))
(write x out))))))))
(define write/ss write-with-shared-structure)