-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Follow HLint suggestions? #233
Comments
Yes please! We are thankful for the help. Most of these should be extremely minor changes. The only one that will be difficult and that I think you should avoid are the incomplete pattern matches in the Evaluator. Fixing these will mean re-architecting the Evaluator and is just not worth it at this time. |
As discussed in #234, we do not consider all of hlint's suggestions to be improvements. @doyougnu, @david-christiansen and I met and agreed that the following suggestions are usually good:
and the following suggestions are usually bad:
This leaves the following suggestions which are sometimes good and sometimes bad.
thanks for your interest in contributing to Klister! |
Thanks @gelisam putting effort into this upfront, way more than I expected. Sorry if that was a drag on your time. If it is OK by you, I'd prefer to tackle pull requests for hlint suggestions one suggestion at a time1. To enable that, would it be OK to merge #234 for starters. For the suggestions you consider bad, we can move them to their own section in If you'd like a github action for this, we could do that by adding haskell-actions/hlint actions. As for tackling a single suggestion, that would involve deleting a single Footnotes
|
Yes that is likely. If we go for an action, the hlint version can be set there. |
Ah, so if we merge #234, hlint will not pester us about any of the suggestions listed there! I had misunderstood the purpose of that list, I thought it was the opposite. Sure, let's merge it! |
Running
hlint-3.8
, I'm finding 148 hints. Are you open to following these suggestions? If so then I'd be happy to contribute those changes.The text was updated successfully, but these errors were encountered: