Skip to content

Accessing elements in a tuple #13691

Closed
Closed
@jacob-hegna

Description

@jacob-hegna

Many languages with tuples include functions to get specific elements out of them, ex:

putStrLn $ snd ("Do not print", "Access me!")

It would be helpful to have similar functionality in rust without having to use pattern matching

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