Re: Record in C# 9 (proposal)

2019-12-07 Thread John Rose
On Dec 7, 2019, at 11:37 AM, fo...@univ-mlv.fr wrote: > > not sure to follow ... > given that we need to construct a new Record, so you have to write all the > components of the new record anyway. One bit you’re missing is simple: If the old record already holds most of the new record’s values,

Re: Record in C# 9 (proposal)

2019-12-07 Thread forax
- Mail original - > De: "John Rose" > À: "Brian Goetz" > Cc: "Remi Forax" , "amber-spec-experts" > > Envoyé: Samedi 7 Décembre 2019 02:51:59 > Objet: Re: Record in C# 9 (proposal) > On Dec 6, 2019, at 7:58 AM, Brian Goe

Re: Record in C# 9 (proposal)

2019-12-06 Thread John Rose
On Dec 6, 2019, at 7:58 AM, Brian Goetz wrote: > > Yes, we’ve been watching this one for years — they started on this effort > shortly before we started on ours. Obviously they built a different feature > because they have a different language; for example, records interact > positively with

Re: Record in C# 9 (proposal)

2019-12-06 Thread Brian Goetz
i Forax" >> À: "amber-spec-experts" >> Envoyé: Vendredi 6 Décembre 2019 12:05:13 >> Objet: Record in C# 9 (proposal) > >> Record from Vancouver :) >> https://github.com/dotnet/csharplang/blob/master/proposals/recordsv2.md >> >> Rémi

Re: Record in C# 9 (proposal)

2019-12-06 Thread Remi Forax
oops, link to the wrong proposal https://github.com/dotnet/csharplang/blob/master/proposals/records.md Rémi - Mail original - > De: "Remi Forax" > À: "amber-spec-experts" > Envoyé: Vendredi 6 Décembre 2019 12:05:13 > Objet: Record in C# 9 (proposal) &g

Record in C# 9 (proposal)

2019-12-06 Thread Remi Forax
Record from Vancouver :) https://github.com/dotnet/csharplang/blob/master/proposals/recordsv2.md Rémi