effekt-lang / effekt-lang/effekt

Multiple return values

Open
#247 0 comments 0 reactions 1 assignee Claimed by @denhie View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.