3 ms·
You've not really indicated how a multi-value return signature is even _different_ than a tuple type.
by skywhopper 8y ago
You've not really indicated how a multi-value return signature is even _different_ than a tuple type.
- ilovecaching 8y agoA tuple is a type constructor. A multi value return is not a type. It’s a semantic hard coded into the language spec. If you have tuples, you don’t have to add that special case to the language. You can also type alias a tuple, store it as a value, and just generally treat it like any other type.