Skip to content

Described Tuple membersΒ #349

Description

@joeldrapper

#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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions