Open PaulBone opened 5 years ago
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.
Is this a discussion on how the lambda syntax needs to look? Or is it you implementing it?
This is for the implementation. But discussion is welcome.
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
Or with a shorthand when the body is a single expression.
Type declarations arn't shown here, they won't normally be used, but probably will be in the initial version.