"Singletons" package on SM

ducasse ducasse at iam.unibe.ch
Thu Dec 4 12:04:51 UTC 2003


On Jeudi, déc 4, 2003, at 12:14 Europe/Zurich, Avi Bryant wrote:

>
> On Dec 4, 2003, at 3:09 AM, Avi Bryant wrote:
>
>> To be completely clear: you don't have a way to both get instance 
>> based behavior, and not have "inst class superclass" yield the 
>> original class, do you?
>
> Sorry, I should have specified "in Squeak", where you can't redefine 
> #class, which is what I see you did in VW.  I need some sleep.

:)

I did that beofre discovering Squeak. In squeak you can change the 
compiler to send the class message.
this is changeClass and a real valueWith that was missing at that time.

Stef

>
> Avi
>
>




More information about the Squeak-dev mailing list