-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
component: compilerConcerning the compilerConcerning the compilermeta: aoc2021Issues encoutered during Advent of Code 2021Issues encoutered during Advent of Code 2021meta: triagedHas the issue been triaged yet?Has the issue been triaged yet?skill: mercurystatus: acceptedA bug we intend to fix it.A bug we intend to fix it.type: enhancement
Milestone
Description
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.
Metadata
Metadata
Assignees
Labels
component: compilerConcerning the compilerConcerning the compilermeta: aoc2021Issues encoutered during Advent of Code 2021Issues encoutered during Advent of Code 2021meta: triagedHas the issue been triaged yet?Has the issue been triaged yet?skill: mercurystatus: acceptedA bug we intend to fix it.A bug we intend to fix it.type: enhancement