haskell / haddock

Haskell Documentation Tool
www.haskell.org/haddock/
BSD 2-Clause "Simplified" License
362 stars 242 forks source link

Hlint redundancies. #1511

Closed philderbeast closed 3 months ago

philderbeast commented 2 years ago

See #1474 for redundant id, redundant return, redundant if, redundant <$>, redundant map and redundant lambda.

Kleidukos commented 1 year ago

@mergifyIO rebase

mergify[bot] commented 1 year ago

rebase

❌ Pull request can't be updated with latest base branch changes

Mergify needs the author permission to update the base branch of the pull request. @cabalism needs to [authorize modification on its head branch](https://docs.github.com/en/github/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork). err-code: 09A26
philderbeast commented 1 year ago

@Kleidukos I rebased, got HLint running again (it was barfing on InterfaceFile, https://github.com/ndmitchell/hlint/issues/1442) and followed hints about rendundancies except for redundant brackets. They're numerous and I'll do those on a separate pull request.

philderbeast commented 3 months ago

Thanks for the review @Kleidukos. Closing here. I may create a new merge request for it over in the GHC repo.