|
Re: [Sbcl-help] Subtleties of EQ
From: Gary King <gwking@me...> - 2009-01-29 04:51
|
Just because I feel the need to say something... <smile> I think your question is not about what #'eq means (pointer equality) but why your two objects which appear (from the print-object method) to have the same address are not eq. Is that right? Since it's unlikely #'eq is wrong (I think that the universe would grind to a halt if it was), it's likely that something is awry with your print-object method. Others have already provided means to determine more about what SBCL is thinking and that's the way forward, I think. OTOH (or on the additional hand), #'describe might also be your friend. HTH On Jan 28, 2009, at 4:35 AM, Leslie P. Polzer wrote: > > I have two CLOS objects that seem to be pretty identical > -- same print output and same address. > > Yet EQ returns NIL when they are compared. > > How is this possible? > > Thanks, > > Leslie > > -- > LinkedIn Profile: http://www.linkedin.com/in/polzer > Xing Profile: https://www.xing.com/profile/LeslieP_Polzer > Blog: http://blog.viridian-project.de/ > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Sbcl-help mailing list > Sbcl-help@... > https://lists.sourceforge.net/lists/listinfo/sbcl-help -- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM * gwking on twitter |
| Thread | Author | Date | |
|---|---|---|---|
| [Sbcl-help] Subtleties of EQ | Leslie P. Polzer <sky@vi...> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|