fix pretty-print graph bug

This commit is contained in:
Matthew Flatt 2010-09-14 08:05:35 -06:00
parent 5b54caebb0
commit b601aa1ca3
3 changed files with 8 additions and 3 deletions

View File

@ -756,7 +756,11 @@
(lambda (s) (out " . ") (out s) (out close)) (lambda (s) (out " . ") (out s) (out close))
(lambda () (lambda ()
(out " . ") (out " . ")
(wr-lst l check? (dsub1 depth) pair? car cdr open close qd) (check-expr-found ;; will find it!
l pport #t
#f #f
(lambda ()
(wr-lst l check? (dsub1 depth) pair? car cdr open close qd)))
(out close)) (out close))
(lambda () (lambda ()
(cond (cond

File diff suppressed because one or more lines are too long

View File

@ -247,6 +247,7 @@
#(1 2 3 4 5) #(1 2 3 4 5)
(read (open-input-string "(#0=() . #0#)")) (read (open-input-string "(#0=() . #0#)"))
(read (open-input-string "#1=(1 . #1#)")) (read (open-input-string "#1=(1 . #1#)"))
(read (open-input-string "#1={#0={1 2 . #2={#0# . #1#}} . #2#}"))
(map box (make #f)) (map box (make #f))
(make #f) (make #f)
(make-pprec 1 2) (make-pprec 1 2)