Re: A MOP minimisation question

"Pascal Bourguignon (as informatimago at gmail dot com)" <[email protected]>
Newsgroups gmane.lisp.lispworks.general
Message-ID <[email protected]>
You may use the prototype instance of the class but it exists only if the class is finalized, hence pain sometimes. 
-- 
__Pascal Bourguignon__



> Le 11 mars 2026 à 19:52, Tim Bradshaw (as tfb at cley dot com) <[email protected]> a écrit :
> 
> 
>> 
>> On 11 Mar 2026, at 13:33, Pascal Costanza (as pc at p-cos dot net) <[email protected]> wrote:
>> 
>> You could just use slots with :allocation :class, no?
> 
> No, or not without pain.  At the point where I want to deal with things instances don't exist but classes do.  In particular macros need to know the layout so they can creat 'accessors' which compile into aref of arrays of known element type.
> 
> For a while I thought of using class-allocated slots and allocate-instance to create an instance which I could then use to retrieve the slots but it was just too horrible.
> 
> --tim
> 
> _______________________________________________
> Lisp Hug - the mailing list for LispWorks users
> [email protected]
> http://www.lispworks.com/support/lisp-hug.html

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
[email protected]
http://www.lispworks.com/support/lisp-hug.html
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.