Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
For reference: This is kind of the inverse of #74.
This looks like it could be easy to standardize and implement since it appears to be just syntactic sugar:
It might slightly complicate parsing though, I'm not quite sure.
Following the existing desugaring logic I'd expect
My inclination would be not to standardize this syntax for now.
In principle we could also consider supporting puns in
record with x
…as a shortcut for
record with x = x
But as long as we don't allow puns for nested fields (e.g.