apple / apple/pkl

Support function varargs

Open
#1,155 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
11.5k
Forks
402
Avg merge
1d 15h
Merged PRs (30d)
20

Description

Users should be able to create functions with variable arguments.

This already exists in the language, but is currently only available to the standard library (for example, `List` and `Map` accept varargs)

Depends on #1154

Contributor guide

Open the contributing guide

Research direction

Start by reading this issue together with dependency #1154, then inspect how existing standard-library functions such as List and Map accept varargs. Done means users can define functions with variable arguments, matching the behavior already available to the standard library.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.