Andrei Alexandrescu <seewebsiteforem...@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