Skip to content

Conversation

@amesgen
Copy link
Member

@amesgen amesgen commented Sep 27, 2025

Closes #1178

Just like in the Function case, we need to omit the equals here if there are guards.

We could also reduce some repeated logic by defining a isFunctionOrPatternBind function, or by using OrPatterns (which is only available on GHC >=9.12), but I don't think this is absolutely necessary yet.

@amesgen amesgen mentioned this pull request Sep 27, 2025
@github-actions
Copy link

@github-actions github-actions bot temporarily deployed to pull request September 27, 2025 13:25 Inactive
@mrkkrp mrkkrp merged commit 0395207 into master Oct 2, 2025
8 checks passed
@amesgen amesgen deleted the amesgen/issue-1178 branch October 3, 2025 09:32
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.

Parse error on guard

3 participants