chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] #1185: wrong sorting example for topological-sort


From: Chicken Trac
Subject: [Chicken-janitors] #1185: wrong sorting example for topological-sort
Date: Mon, 13 Apr 2015 07:31:16 -0000

#1185: wrong sorting example for topological-sort
----------------------------+-----------------------------------------------
 Reporter:  ckeen           |       Owner:         
     Type:  defect          |      Status:  new    
 Priority:  major           |   Milestone:  someday
Component:  core libraries  |     Version:  4.9.x  
 Keywords:                  |  
----------------------------+-----------------------------------------------
 As found by "WJ" on comp.lang.scheme:

 {{{
 (topological-sort
  '((i am)
    (not trying)
    (confuse the)
    (am trying)
    (trying to)
    (am not)
    (trying the)
    (to confuse)
    (the issue))
   eq?)

  ===>
 (not i am trying to confuse the issue)


 The correct output is:

 (i am not trying to confuse the issue)
 }}}

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/1185>
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]