Skip to content

Conversation

@cristianoc
Copy link
Collaborator

Desugar the semantics of |> in uncurried mode so existing curried code still compiles. But the code will stop using |> after formatting.

For example: 3 |> add3(1,2) would not compile when add3 has 3 arguments. But after desugaring, the third argument is added.

@cristianoc cristianoc requested a review from cknitt March 17, 2023 12:59
Desugar the semantics of `|>` in uncurried mode so existing curried code still compiles. But the code will stop using `|>` after formatting.

For example: `3 |> add3(1,2)` would not compile when `add3` has 3 arguments. But after desugaring, the third argument is added.
@cristianoc cristianoc merged commit b140da1 into master Mar 17, 2023
@cristianoc cristianoc deleted the triangle_uncurried branch March 17, 2023 13:10
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