Skip to content

Avoid Global Set Asymmetric Patterns#408

Merged
xavierleroy merged 1 commit intomasterfrom
asymmetric-patterns
Sep 15, 2021
Merged

Avoid Global Set Asymmetric Patterns#408
xavierleroy merged 1 commit intomasterfrom
asymmetric-patterns

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