All IIRC/AFAIK:

Aaron Sherman skribis 2005-04-26  9:25 (-0400):
>               method make ($self: $make, [EMAIL PROTECTED]) returns(car) {

    returns car;

(And write classes ucfirst, please)
    
>                       return $self but role {

    does role { ... }

> It certainly seems very attractive, but I'm not sure if roles can be
> anonymous and/or closures.

They can. But I think what you wrote is rather unnecessarily complex.


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

Reply via email to