-
Notifications
You must be signed in to change notification settings - Fork 156
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
pattern-match and, and, or #584
Comments
Updated OP as it was a little.. plain. |
I don't think LS should add parenthesis by default, but if it is the most commonly expected use case, it makes sense to do it. |
Well if we want to keep the meaning of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Simple match test with expression in case:
Compiles to:
The problem in words: Every case-expression is bundled in one long expression.
It should wrap braces around each column so the precedence for each case is preserved.
Correct output:
The text was updated successfully, but these errors were encountered: