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?subject=Unsubscribe

Reply via email to