logo       

Re: Re: CLOS+defstruct issues: msg#00068

lisp.corman

Subject: Re: Re: CLOS+defstruct issues



Frode Vatvedt Fjeld wrote:
> (class-precedence-list (find-class 'ccc))
> => (#<Standard-Class CCC #xF30C80> #<Standard-Class STRUCTURE #x1405498>
> #<Standard-Class T #x146DDC8>)

ah, good point!

> Strangely, this still works:
>
> (typep (make-ccc) 'bbb)
> => t

I think that is because defstructs also having associated classes is an
add-on, and typep does it's own research to come up with an answer,
using an approach long pre-dating CLOS.

But would fixing the CPL make primary methods visible even if an around
method is present? Just guessing, but sounds like a diff bug.

Anyway, getting CormanCL supported was just a fun exercise I can revisit
after Cello is a lot more substantial and CormanCL has had some more
patches from its maintainers.

I at least got CLisp working (for Cells, not Cello) and that will
satisfy my client.

--

kenny tilton
clinisys, inc
http://www.tilton-technology.com/
---------------------------------------------------------------
"Cells let us walk, talk, think, make love and realize
the bath water is cold." -- Lorraine Lee Cudmore



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/xaxhjB/hdqFAA/xGHJAA/SyjtlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
cormanlisp-unsubscribe@xxxxxxxxxxxxxxx



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise