Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make curly braces in record type definition optional #296

Open
baronfel opened this issue Oct 14, 2016 · 0 comments
Open

Make curly braces in record type definition optional #296

baronfel opened this issue Oct 14, 2016 · 0 comments

Comments

@baronfel
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant