baronfel / fsharp-lang-testbed

0 stars 0 forks source link

Introduce a different approach for resolving ambiguity of record types #27

Open baronfel opened 7 years ago

baronfel commented 7 years ago

Idea 11464779: Introduce a different approach for resolving ambiguity of record types

Status : declined

Submitted by Kevin Rood on 1/15/2016 12:00:00 AM

3 votes

See the example here under the "Conflict Resolution" heading: http://davefancher.com/2012/11/27/f-record-types/ Prefixing the type on a label seems inconsistent with how types are annotated elsewhere in the language. Perhaps something like this with the type annotation on the end would be more consistent: "let myRecord = {} : RecordTypeName"