mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-12 15:37:35 +02:00
handle shared dotted tail in writing lists (issue #618)
This commit is contained in:
parent
4734fc1e40
commit
08c72aca59
1 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,8 @@
|
|||
(display " " out)
|
||||
(wr (car ls))
|
||||
(lp (cdr ls)))))
|
||||
(shared? ;; shared dotted tail
|
||||
(write ls out))
|
||||
(else
|
||||
(display " . " out)
|
||||
(wr ls))))))
|
||||
|
|
Loading…
Add table
Reference in a new issue