Skip to content
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

Cleanup imports and extensions #828

Merged
merged 3 commits into from
Nov 10, 2022
Merged

Conversation

arcz
Copy link
Member

@arcz arcz commented Sep 19, 2022

This uses the new ImportQualifiedPost extensions that allows more natural placement of qualified keyword. I cleaned up the imports alphabetically, dividing them into common, hevm, and echidna as we tend to style this and made this consistent throughout the codebase.

We also use a lot of extensions that will become standard starting from GHC 9.2 - https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/control.html#extension-GHC2021. I removed those from the sources and placed them as default extensions. When we update to 9.2 we can simply remove them from package.yaml.

EDIT: I had to update hlint action as it was too old and didn't recognize ImportQualifiedPost

@arcz arcz force-pushed the imports-extensions-cleanup branch from 07de276 to 099633e Compare September 19, 2022 22:52
@arcz arcz force-pushed the imports-extensions-cleanup branch from 099633e to 8ac6930 Compare September 23, 2022 16:00
@ggrieco-tob ggrieco-tob merged commit ce64385 into master Nov 10, 2022
@ggrieco-tob ggrieco-tob deleted the imports-extensions-cleanup branch November 10, 2022 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants