You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make curly braces in record type definition optional [6153846]
Submitted by Chojrak on 7/9/2014 12:00:00 AM 11 votes on UserVoice prior to migration
Since we have indentation, the braces are not needed. It's a relict of dark ages. It'd be nice to have:
type Person =
FirstName : string
LastName : string
instead of
type Person = {
FirstName : string
LastName : string }
Response
** by fslang-admin on 10/15/2014 12:00:00 AM **
See comments above
Don Syme, BDFL F# Language Evolution
Make curly braces in record type definition optional [6153846]
Submitted by Chojrak on 7/9/2014 12:00:00 AM
11 votes on UserVoice prior to migration
Since we have indentation, the braces are not needed. It's a relict of dark ages. It'd be nice to have:
type Person =
FirstName : string
LastName : string
instead of
type Person = {
FirstName : string
LastName : string }
Response
** by fslang-admin on 10/15/2014 12:00:00 AM **
See comments above
Don Syme, BDFL F# Language Evolution
Original UserVoice Submission
Archived Uservoice Comments
The text was updated successfully, but these errors were encountered: