fix hide sharing
svn: r8111
This commit is contained in:
parent
cd3cfdaa07
commit
fe3e4042cd
|
@ -35,7 +35,7 @@
|
||||||
(let ([fmt (if write? ",~s" ",~a")])
|
(let ([fmt (if write? ",~s" ",~a")])
|
||||||
(for-each (lambda (x) (fprintf port fmt x)) (cdr p))))
|
(for-each (lambda (x) (fprintf port fmt x)) (cdr p))))
|
||||||
(display ">" port)]
|
(display ">" port)]
|
||||||
[(promise? p) (loop p)] ; hide sharing
|
[(promise? p) (loop (p:ref p))] ; hide sharing
|
||||||
[(not p) (display "#<promise*active>" port)]
|
[(not p) (display "#<promise*active>" port)]
|
||||||
[else (error 'promise-printer "bad promise value: ~e" p)])))]
|
[else (error 'promise-printer "bad promise value: ~e" p)])))]
|
||||||
[(s:promise promise promise? promise-ref promise-set!)
|
[(s:promise promise promise? promise-ref promise-set!)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user