chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] Re: #441: equal? may not recurse into closures


From: Chicken Trac
Subject: [Chicken-janitors] Re: #441: equal? may not recurse into closures
Date: Wed, 08 Dec 2010 12:03:18 -0000

#441: equal? may not recurse into closures
-----------------------------+----------------------------------------------
  Reporter:  felix           |       Owner:                   
      Type:  change request  |      Status:  new              
  Priority:  major           |   Milestone:  4.7.0            
 Component:  core libraries  |     Version:  4.6.x            
Resolution:                  |    Keywords:  equal? procedures
-----------------------------+----------------------------------------------

Comment(by alaric):

 I think that `eq?` is probably good enough for procedures, on account of
 the slipperiness of defining equality for them.

 However, should `equal?` be extended to terminate on circular data (as
 R7RS may end up requiring), then recursing into procedures will also be
 good enough (and, indeed, perhaps slightly more useful than `eq?`).

 One underlying issue is: Who compares procedures, anyway? What are their
 intentions and wishes?

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