Skip to content

Follow hlint suggestion: redundant list comprehension - #9111

Merged
ulysses4ever merged 1 commit into
haskell:masterfrom
cabalism:hlint/redundant-list-comprehension
Jul 16, 2023
Merged

ulysses4ever merged 1 commit into
haskell:masterfrom
cabalism:hlint/redundant-list-comprehension

Conversation

@philderbeast

@philderbeast philderbeast commented Jul 11, 2023 •

Copy link
Copy Markdown
Collaborator

See #9110. We do nothing with these bindings in list comprehensions. I'd say we're not giving up documentation value by losing these bindings:

opt <- ccOptions pkg
opt <- ldOptions pkg
modDefFile <- flags ghcOptLinkModDefFiles

@andreabedini andreabedini left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ulysses4ever ulysses4ever left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a no-brainer. Thanks!

@ulysses4ever ulysses4ever added the merge me Tell Mergify Bot to merge label Jul 13, 2023
@mergify mergify Bot added the merge delay passed Applied (usually by Mergify) when PR approved and received no updates for 2 days label Jul 15, 2023
@ulysses4ever
ulysses4ever merged commit a17f56c into haskell:master Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge delay passed Applied (usually by Mergify) when PR approved and received no updates for 2 days merge me Tell Mergify Bot to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants