Use write for keys rather than display in pretty-print-matcher
This commit is contained in:
parent
25ee780598
commit
77f876c737
|
@ -859,10 +859,12 @@
|
||||||
(d " ")
|
(d " ")
|
||||||
(define keystr (call-with-output-string
|
(define keystr (call-with-output-string
|
||||||
(lambda (p)
|
(lambda (p)
|
||||||
(if (struct-type? key)
|
(cond
|
||||||
(begin (display "<s:" p)
|
[(struct-type? key)
|
||||||
(display (struct-type-name key) p))
|
(display "<s:" p)
|
||||||
(display key p)))))
|
(display (struct-type-name key) p)]
|
||||||
|
[else
|
||||||
|
(write key p)]))))
|
||||||
(d keystr)
|
(d keystr)
|
||||||
(walk (+ i 1 (string-length keystr)) k)
|
(walk (+ i 1 (string-length keystr)) k)
|
||||||
#t))]))
|
#t))]))
|
||||||
|
|
Loading…
Reference in New Issue