Skip to content

Lambda syntax #165

@PaulBone

Description

@PaulBone

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

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions