chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] Re: #117: printing of circular objects does not termi


From: Chicken Trac
Subject: [Chicken-janitors] Re: #117: printing of circular objects does not terminate when shown by `describe'
Date: Thu, 27 May 2010 20:33:29 -0000

#117: printing of circular objects does not terminate when shown by `describe'
------------------------+---------------------------------------------------
 Reporter:  felix       |       Owner:  ckeen   
     Type:  defect      |      Status:  accepted
 Priority:  minor       |   Milestone:          
Component:  core tools  |     Version:  4.2.x   
 Keywords:              |  
------------------------+---------------------------------------------------
Changes (by ckeen):

  * owner:  => ckeen
  * status:  new => accepted


Comment:

 Ok, testcases:

 (define p '( a . b))
 (set! (cdr p) p)
 (define l (cons 'c p))

 With the patch:
 #;1> ,d l
 circular list: c -> a ->  a (circle)
 #;2> ,d p
 circular list: a ->  a (circle)

 I think, that this does ease the situation, although there might be cases
 where this does not do the right thing?

-- 
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/117#comment:2>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]