Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upAdding multiple fields to a record #325
Comments
nphollon
closed this
Aug 2, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
nphollon
Aug 2, 2015
Contributor
My apologies, this issue looks like it belongs in elm-compiler, not in core
|
My apologies, this issue looks like it belongs in elm-compiler, not in core |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nphollon commentedAug 2, 2015
Elm allows us to update multiple fields at once on a record. By analogy, it feels very natural to add multiple fields using this notation:
But it leads to a syntax error:
The alternative I have found is rather verbose: