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

Implement automatic sorting of language pragmas #20

Closed
mrkkrp opened this issue Feb 5, 2019 · 3 comments · Fixed by #147
Closed

Implement automatic sorting of language pragmas #20

mrkkrp opened this issue Feb 5, 2019 · 3 comments · Fixed by #147
Assignees

Comments

@mrkkrp
Copy link
Member

mrkkrp commented Feb 5, 2019

Not to forget. I'll skip this in current PR about comments, but eventually such a feature would be good.

@mrkkrp
Copy link
Member Author

mrkkrp commented Apr 14, 2019

Also this should fix position of the block of extensions, e.g. between module docs (if present) and module header (the thing with export list). Also take care of spacing, i.e. there should be a blank line between different sections fore readability. So far I'm skipping this sort of fine tuning.

@mrkkrp
Copy link
Member Author

mrkkrp commented May 8, 2019

Also, this should include, from #17:

Splitting the {-# LANGUAGE … #-} pragmas with list of extension into pragmas with a single extension.

@ethercrow
Copy link
Contributor

This should also unify the case, since GHC happily accepts both language, LANGUAGE and even LaNgUaGe.

@mrkkrp mrkkrp self-assigned this Jul 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants