Why Ruby?
    Simen kjaeraas 
    simen.kjaras at gmail.com
       
    Sun Dec 12 11:26:51 PST 2010
    
    
  
Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org> wrote:
> fun (a, b ; c) stmt
>
> =>
>
> fun(c, (a, b) { stmt })
>
> This could and should be generalized for more parameters, which I'm sure  
> is very useful:
>
> fun (a, b ; c, d) stmt
>
> =>
>
> fun(c, d, (a, b) { stmt })
>
> Of course "fun" could be actually "obj.method".
>
> With this we have a compelling syntax that has semantics obtained via  
> lowering.
This is very nice. UP VOTES!!1
-- 
Simen
    
    
More information about the Digitalmars-d
mailing list