Re: Re: CLOS+defstruct issues

Kenny Tilton <[email protected]>
Newsgroups gmane.lisp.corman
Message-ID <[email protected]>

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:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.