Follow hlint suggestion: use lambda-case#11807
Open
philderbeast wants to merge 1 commit into
Open
Conversation
25110c6 to
c102aa1
Compare
jappeace
approved these changes
May 13, 2026
Bodigrim
reviewed
May 13, 2026
Bodigrim
approved these changes
May 13, 2026
Collaborator
|
I'm borderline on lambda case: I like to use it myself a lot but I'd rather we don't force it on contributors: arguably, this raises the bar a bit, and I've seen Haskell newcomers who were deeply confused by this syntax. But since the necessary two approvals are in and my doubts aren't backed by any real data, I won't block it. |
- Satisfy fourmolu
c102aa1 to
d5335c2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See #9110. Discharges and no longer ignores HLint's "use lambda-case" suggestion so that these will be suggested by our CI linting.
I'll squash commits before applying the merge label if this pull request is approved. I've left the styling change to module
CmdHaddockProjectseparate for an easier review.