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: Mon, 31 May 2010 10:35:03 -0000

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

  * owner:  felix => ckeen


Comment:

 I am not sure about the best way to fix this. There are at least two ways
 I see:

 1. Extend circular-list? to detect circular cars
 2. Add checks for the list? and pair? cases, which would mean to either
    a) extend descseq and make the pair? case use that
    b) make a standalone check procedure and have that used also by descseq

 so basically this would work the same as the code I have proposed for
 circular lists:
 Collect all car's and check that the car's are not eq?.

-- 
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/117#comment:6>
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]