Re: What do we mean by "Identical" ?
- From: Pascal Costanza <pc@xxxxxxxxx>
- Date: Sun, 30 Oct 2005 14:13:43 +0100
newser.bbs@xxxxxxxxxxxxxxxxx wrote:
I believe that you are right that the arguments should be evaluated before the calling of the function , but this still makes me more and more confused . What do you think makes "eq" different from "eql"? Following those procedures you taught me , I can't tell "eq" apart from "eql".
It is true that for most values, eq and eql behave exactly the same. The only exceptions are characters and numbers, and this is for technical reasons. Since you are a newbie, I would suggest to you to forget about eq for the time being and always use eql when you want to test for identity. eq is really only an optimized variation of eql that you can use when you are sure about what you are doing, that is when you are absolutely sure that you are _not_ comparing characters or numbers. You will get back to this later when optimization issues become more important in your programs...
Pascal
-- My website: http://p-cos.net Closer to MOP & ContextL: http://common-lisp.net/project/closer/ .
- References:
- What do we mean by "Identical" ?
- From: newser . bbs
- Re: What do we mean by "Identical" ?
- From: newser . bbs
- Re: What do we mean by "Identical" ?
- From: newser . bbs
- Re: What do we mean by "Identical" ?
- From: Harald Hanche-Olsen
- Re: What do we mean by "Identical" ?
- From: newser . bbs
- What do we mean by "Identical" ?
- Prev by Date: Re: Lispnik logo (was Re: Lisp Logo Madness!)
- Next by Date: Re: What do we mean by "Identical" ?
- Previous by thread: Re: What do we mean by "Identical" ?
- Next by thread: Re: What do we mean by "Identical" ?
- Index(es):