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

Lambda syntax #165

PaulBone opened this issue May 10, 2019 · 2 comments


None yet
2 participants
Copy link

commented May 10, 2019

Decide on the syntax for lambdas and implement it in the compiler front-end & docs.

Implement lambda expressions and partial application, including of higher order terms.

Lambda expressions should look like

func(x, y) { return x + y }

Or with a shorthand when the body is a single expression.

func(x, y) => x + y

Type declarations arn't shown here, they won't normally be used, but probably will be in the initial version.


This comment has been minimized.

Copy link

commented May 11, 2019

Is this a discussion on how the lambda syntax needs to look? Or is it you implementing it?


This comment has been minimized.

Copy link
Member Author

commented May 21, 2019

This is for the implementation. But discussion is welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.