-
Notifications
You must be signed in to change notification settings - Fork 373
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
Fix/remove warnings and general cleanup #1862
base: master
Are you sure you want to change the base?
Fix/remove warnings and general cleanup #1862
Conversation
…Operators' for the usage of '~' where necessary
Also move a TH splice so the module doesn't have to import itself
Only failing job is because of external issues. I'll be going through the logs to find some more warnings to get rid of. Consider this PR a "WIP" until then. |
Builds except for the following:
|
In general, I'm a big fan of the cleanup. Are you using tools like stylish-haskell and/or hlint to guide your changes? |
I've done everything manually. Building the entire repo with If we'd want to organize all the modules, it'd be better to just throw an ormolu/fourmolu over it in one go as a single PR. Though it would also probably create conflicts in every open PR. |
Personally, I don't think we should do that. Let's retry the failing CI checks. |
Before submitting your PR, check that you've:
Prompted by #1852
Added a comment on that PR, but wanted to double check I was right, and one thing led to another. Mostly me being annoyed by the messy code, so I did some cleanup that removed almost all the warnings when building with LTS-22 at least.
I want to check that all the builds pass (and if not fix it, obviously) and make sure most warnings are gone with any of the GHC versions that are tested.
FOR ANYONE REVIEWING
I've made the commits pretty self-contained, so if you go through the commits one by one, the review process should be pretty easy and quick.
The changes should retain function parity, and nothing should inherently change in behaviour.