Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!mintaka!mintaka.lcs.mit.edu!alan From: alan@lcs.mit.edu (Alan Bawden) Newsgroups: comp.lang.scheme Subject: Re: eqness of procedures Message-ID: Date: 11 May 91 04:27:58 GMT References: <9105080039.aa09228@mc.lcs.mit.edu> <1991May8.063427.25012@Think.COM> Sender: news@mintaka.lcs.mit.edu Organization: ITS Preservation Society Lines: 27 In-Reply-To: carlton@husc10.harvard.edu's message of 10 May 91 17:52:34 GMT In article carlton@husc10.harvard.edu (david carlton) writes: In article alan@lcs.mit.edu (Alan Bawden) writes: This is true; if the EQV? case is undefined, it follows that the EQ? case -may- return #F. But perhaps Olin is wondering if (eq? (lambda (x) x) (lambda (x) x)) might be -required- to return #F (even though EQV? was allowed to be smarter and discover their equivalence). It would certainly be out of character, since they allow (eq? '(1 2) '(1 2)) , say, to be true. Well, but certainly (eq? (cons 1 2) (cons 1 2)) is required to be false. I can imagine a programmer thinking it would be convenient if every evaluation of a LAMBDA-expression resulted in a unique (in the sense of EQ?) closure.