Skip to content

Conversation

rewinfrey
Copy link

This differentiates lambda parameters from the rest of the expressions in a lambda body. @maxbrunsfeld the motivation behind this is to make it easier in the shape of the tree to determine where the body of the lambda starts. This isn't so much of a problem for function calls or function definitions, because those parameters include ( and ), but lambda parameters do not use ().

I also simplified the test for lambdas, as the assignment was unnecessary.

@rewinfrey rewinfrey requested a review from maxbrunsfeld July 7, 2017 18:44
@rewinfrey rewinfrey merged commit bbb3639 into master Jul 7, 2017
@rewinfrey rewinfrey deleted the named-lambda-parameters branch July 7, 2017 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants