Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type-safe function apply #33

Closed
jclark opened this issue Mar 26, 2019 · 3 comments
Closed

Type-safe function apply #33

jclark opened this issue Mar 26, 2019 · 3 comments
Labels
Area/Lang Relates to the Ballerina language specification Type/Improvement Enhancement to language design
Milestone

Comments

@jclark
Copy link
Collaborator

jclark commented Mar 26, 2019

Should be possible to apply a function value to a container representing an argument list in a type-safe way. This is probably just a generalization of the semantics of ...x.

This is for when the type of the function is known at compile time. There is also a need for a more dynamic, non type-safe version, for when the type is not known.

This relates to #27.

@jclark jclark added Type/Improvement Enhancement to language design Area/Lang Relates to the Ballerina language specification labels Mar 26, 2019
@jclark jclark added this to the 2019R2 milestone Mar 26, 2019
@jclark
Copy link
Collaborator Author

jclark commented Mar 26, 2019

See also #38

@jclark jclark modified the milestones: 2019R2, 2019R1 Mar 28, 2019
@jclark
Copy link
Collaborator Author

jclark commented Mar 29, 2019

Assuming redesign of named arguments from #27, we can provide this by

jclark added a commit that referenced this issue Apr 1, 2019
@jclark
Copy link
Collaborator Author

jclark commented Apr 10, 2019

The only part left of this is #51, so we can close this.

@jclark jclark closed this as completed Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/Lang Relates to the Ballerina language specification Type/Improvement Enhancement to language design
Projects
None yet
Development

No branches or pull requests

1 participant