On Sat, Oct 19, 2013 at 1:52 PM, Patrick Walton <[email protected]> wrote:
> I think it's unfortunately too late to overhaul the language like this.
> This will require redesigns of all Rust code in existence.
>
> I do like unified function/method call syntax, but I think it can be done
> in a backwards compatible way.
>
>
What do you have in mind at the moment? Implementing UFCS while still
keeping the `impl` syntax around for structs? What about for primitive
types, e.g. would `fn double(a: int) -> { 2*a }` be callable as
`2.double()`, without breaking backward compatibility?
Thanks
--
Ziad
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev