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

Interpret arity of uncurried explicitly. #5795

Merged
merged 2 commits into from
Nov 10, 2022

Conversation

cristianoc
Copy link
Collaborator

@cristianoc cristianoc commented Nov 10, 2022

Interpret the arity of uncurried functions explicitly so this is a unary function:

(. x) => y => x+y

The parser adds braces to the body to make this explicit.

This is a breaking change, but only for code that is not formatted. And solves the lack of idempotency in #5794

Interpret the arity of uncurried functions explicitly so this is a unary function:
```
(. x) => y => x+y
```
The parser adds braces to the body to make this explicit.

This is a breaking change. And solves the lack of idempotency in #5794
@cristianoc cristianoc changed the title Interpred arity of uncurried explicitly. Interpret arity of uncurried explicitly. Nov 10, 2022
@cristianoc cristianoc merged commit 890fe81 into direct_uncurry_fundef_encoding Nov 10, 2022
@cristianoc cristianoc deleted the braces_on_body branch November 10, 2022 18:20
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.

1 participant