Neal Gafter

Results 247 comments of Neal Gafter

Copy-paste error now fixed.

Spec in progress at https://github.com/dotnet/csharpstandard/pull/44

See https://github.com/dotnet/csharplang/issues/2911 for a minimal specification for this feature.

@CyrusNajmabadi That is a question for `corefxlab`,`coreclr`, and `corefx`, possibly focused at https://github.com/dotnet/corefxlab/issues/2350. This proposal isn't going anywhere without that team making a decision about what they want to do...

@orthoxerox You would have to ask the folks designing those APIs.

@inforithmics Almost any change to `System.String` would be a breaking change. For example, `String` has a contract that its chars can be accessed by index in constant time. That is...

I believe that type classes (https://github.com/dotnet/csharplang/issues/110) would provide most if not all of the benefits of this proposal.

I've updated the issue, above, to give some context. I still need to check-in a proposal.

We should also look whether we should do something similar for the lambda conversion (say the conversion doesn't exist when the return type is wrong). See https://github.com/dotnet/roslyn/issues/8942

@jcouv I think keeping the name stable helps us recall what we were talking about. But I don't feel strongly about it one way or another. Do you have a...