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

Avoid Global Set Asymmetric Patterns #408

Merged
merged 1 commit into from
Sep 15, 2021
Merged

Conversation

xavierleroy
Copy link
Contributor

Instead, add Set Asymmetric Patterns to the files that need it,
or use Arguments to make inductive types work better with symmetric patterns.

Closes: #403

Instead, add `Set Asymmetric Patterns` to the files that need it,
or use `Arguments` to make inductive types work better with symmetric patterns.

Closes: #403
@xavierleroy
Copy link
Contributor Author

I'll review myself since nobody does it. I have a good feeling about this change. Few files really need Set Asymmetric Patterns, and a couple of files look better now that they've been converted to symmetric patterns. Good to merge!

@xavierleroy xavierleroy merged commit c9fad7c into master Sep 15, 2021
@xavierleroy xavierleroy deleted the asymmetric-patterns branch November 15, 2021 08:51
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.

Global considered harmful
1 participant