Skip to content

Switch to fourmolu formatter and reformat all sources #1825

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

Merged
merged 5 commits into from
Jun 22, 2025

Conversation

zlondrej
Copy link
Contributor

Code was first formatted using stylish-haskell to reduce amount of multi-line import lists as fourmolu would put each item on its own line. Then it got one more pass with fourmolu with respectful: false option.

Some FOURMOLU_DISABLE directives were added in problematic cases (mostly CPP conditional pragmas or foreign imports).

The fourmolu.yaml configuration was provided by @tchoutri.

zlondrej added 2 commits June 19, 2025 15:40
Some FOURMOLU_DISABLE directives were added in problematic cases
(mostly CPP conditional pragmas or foreign imports).
@zlondrej zlondrej force-pushed the formatting branch 2 times, most recently from 441f8bd to 1329d44 Compare June 19, 2025 16:07
Copy link
Contributor

@tchoutri tchoutri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to fix the conflicts, otherwise it looks good.

@tchoutri tchoutri merged commit fdee6ba into haskell-servant:master Jun 22, 2025
8 checks passed
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