On Wed, 19 Sep 2007 02:33:19 -0700, Michael van der Gulik mikevdg@gmail.com wrote:
On 9/19/07, Paolo Bonzini bonzini@gnu.org wrote:
What is possible is:
self add: (Kernel-Array new: 4).
Here, #- is a message.
Michael.
And what is Array? :-) I understand that you could use "Kernel-#Array" or something similar, but "Kernel/Array" seems hard to get right in the compiler.
Array is a class.... which the Kernel namespace uses to look up.... oh, I see your point.
Okay, bad design :-P.
I was looking at it more like:
self add: (Kernel-#Array new: 4).
But I guess without the # the namespace object wouldn't see "Array" it would only see an undefined object?