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

Redundant parentheses in case split #76

Open
dmalikov opened this issue Jun 28, 2017 · 0 comments
Open

Redundant parentheses in case split #76

dmalikov opened this issue Jun 28, 2017 · 0 comments

Comments

@dmalikov
Copy link
Contributor

Before case splitting:

No contra => case isElem value xs of
                  case_val => ?isElem_rhs_3

After it:

No contra => case isElem value xs of
                  (Yes prf) => ?isElem_rhs_1
                  (No contra) => ?isElem_rhs_2

Couldn't these parentheses be omitted automatically?

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

No branches or pull requests

1 participant