Skip to content

add tuple_type to the Tuple manipulation API #24312

Closed

Description

We have tuple_type_head and tuple_type_tail, but it would be nice to have something that is just equivalent to

tuple_type(T) = (tuple_type_head(T), tuple_type_tail(T)...)

Currently one needs to extract T.parameters, convert from the svec, deal with Vararg tuples manually, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    collectionsData structures holding multiple items, e.g. sets

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions