effekt-lang / effekt-lang/effekt

Multiple return values in Core

Open
#1,285 1 comment 0 reactions 0 assignees View on GitHub
area:core feature
Dominant language
Scala
Stars
469
Forks
41
Avg merge
1d 16h
Merged PRs (30d)
23

Description

Regardless of if we want #272, it would be nice to have multiple return values starting from Core. Optimizations could then generate such functions. This is only relevant for statements, as impure extern definitions and pure extern definitions don't need that features for now.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Core representation and compilation path for statements, then compare how pure and impure extern definitions are handled. Review the relationship to issue #272 before choosing an approach. Done means Core statements support multiple return values while both kinds of extern definitions remain unchanged for now.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.