effekt-lang / effekt-lang/effekt
Multiple return values
Open
feature
- Dominant language
- Scala
- Stars
- 469
- Forks
- 41
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 23
Description
It would be great if we could return multiple values from a function directly
```
def swap(x: Int, y: Int): (Int, Int) = (y, x)
```
This should not be sugar for pairs (as it currently is) but multiple return values without constructing a pair.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.