Thanks! I arrived at a similar conclusion by looking at the C source. It also says in the doc that new! can be used for multiple classes so that's probably another reason why
2012/2/23 José Romero <jose.cyb...@gmail.com> > On Thu, 23 Feb 2012 16:16:01 -0500 > Joe Bogner <joebog...@gmail.com> wrote: > > > Sidenote: Can someone explain why the use of the parentheses around > > the class name? It seems confusing to be '+Item in some contexts and > > '(+Item) in others. > > > > > It's the way typing works in the PicoLisp object system, "types" are > lists of prototype objects (or "mixin classes", whatever way you wanna > call them). When a message is sent to an object, be it with 'send 'try > or calling a method symbol (val=meth), the interpreter looks into the > val of the symbol for the method, if it's not there, it goes trough the > symbols at the tail of the list (the "type"), in order. > > > Thanks! > > Joe > Cheers, > José > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subjectUnsubscribe >