#348 reminded me of an idea to support descriptions for members of Tuple types. Tuples are fixed length arrays typed by their index. A tuple of a name/age pair would be defined like this _Tuple(String, Integer) and would match an array like this ["Joel", 32].
But I wonder if we should also support defining the tuple like this.
_Tuple(name: String, age: Integer)
The keys would do nothing to the type, but they might make the code easier to read.
#348 reminded me of an idea to support descriptions for members of Tuple types. Tuples are fixed length arrays typed by their index. A tuple of a name/age pair would be defined like this
_Tuple(String, Integer)and would match an array like this["Joel", 32].But I wonder if we should also support defining the tuple like this.
The keys would do nothing to the type, but they might make the code easier to read.