Whither extension methods?

Mark Thornton mthornton at optrak.co.uk
Tue Dec 15 05:43:18 PST 2009


Howard Lovatt wrote:
> This might well be possible, but it would be more work since it is a 
> change to the type system (it would have to infer the method to call 
> from the LHS of an assignment). I suspect this is too big a change to 
> the type system.
>
I was thinking more of byte code which hadn't been recompiled. In this 
case the linker could allow both methods to coexist. Of course if you 
did recompile the source with the new definition of List, there would be 
an error. So binary compatible but not source compatible.

Mark Thornton



More information about the lambda-dev mailing list