Skip to content

Conversation

ssoelvsten
Copy link
Collaborator

@ssoelvsten ssoelvsten commented Sep 29, 2025

Having all code formatted by mechanically has multiple benefits:

  • Consistent styling, which decreases cognitive load (more brainpower to solve problems rather than parsing the code).
  • Ease refactoring efforts, e.g. when renaming a variable one does not have to go through indenting everything anew by hand.

This also includes a new GitHub action which will complain if code in a pull requests (or pushed directly to a branch) is not properly formatted.

@ssoelvsten ssoelvsten self-assigned this Sep 29, 2025
@ssoelvsten ssoelvsten added 📁 ./compiler Changes, errors, and additions for the compiler ✨ code quality Uncle Bob would be proud labels Sep 29, 2025
@ssoelvsten ssoelvsten changed the title fourmulu (Haskell formatter) fourmolu (Haskell formatter) Sep 29, 2025
@ssoelvsten ssoelvsten marked this pull request as draft September 30, 2025 08:03
@ssoelvsten
Copy link
Collaborator Author

I've marked this pull request as a draft since merging it would be a headache to other, e.g. #53 , #68 , and more. The merge of this needs to be coordinated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ code quality Uncle Bob would be proud 📁 ./compiler Changes, errors, and additions for the compiler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants