tupleOf with overloads ["Request"]
- Dominant language
- Kotlin
- Stars
- 6.6k
- Forks
- 472
- Avg merge
- 3d 49m
- Merged PRs (30d)
- 4
Description
What version are you currently using?
1.2.1
What would you like to see?
```
fun tupleOf(first: A, second: B) = Pair(first, second)
fun tupleOf(first: A, second: B, third: C) = Triple(first, second, third)
fun tupleOf(first: A, second: B, third: C, fourth: D) = Tuple4(first, second, third, fourth)
fun tupleOf(first: A, second: B, third: C, fourth: D, fifth: E) = Tuple5(first, second, third, fourth, fifth)
fun tupleOf(first: A, second: B, third: C, fourth: D, fifth: E, sixth: F) = Tuple6(first, second, third, fourth, fifth, sixth)
//... etc
```
Contributor guide
Research direction
Start by locating the tupleOf API in the Kotlin sources and checking how existing overloads are organized. Compare the requested Pair through Tuple6 signatures with the project's current API and relevant tests, if present. Done means the requested overload series is available and covered by the applicable checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100