Extending tuples #7713
Unanswered
truegoodwill
asked this question in
Language Ideas
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It would be great to extend tuples (by combing them or adding fields). Here's an example of how the code may look. Apologies I don't know how to create a fully-fledged language spec proposal, perhaps if you see value in the idea you might like to update my proposal.
In my use case today as I write, extending tuples is helpful in large linq operations where I "select" a tuple with lots of fields, do a where on those fields, and then do another select to continue adding fields to the tuple.
Beta Was this translation helpful? Give feedback.
All reactions