Support flattening of tuples
Open
Nobody has claimed this yet.
T-lang
T-libs
- Dominant language
- Markdown
- Stars
- 6.6k
- Forks
- 1.7k
- Avg merge
- 16h 14m
- Merged PRs (30d)
- 1
Description
I believe that there should be some way of flattening a tuple. The most common reason is probably from a macro or within one that calls a function that returns a tuple but the result of the macro is a flattened tuple.
Example:
(5, (10, "Hello World")) -> (5, 10, "Hello World")
This is currently not possible I believe
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Issue #2138 proposes tuple flattening but names no source file, test, or implementation entry point. Start by reviewing the RFC process and related tuple discussions, then establish the semantics and acceptance criteria for flattening nested tuples before any implementation work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100