fourmolu
« Back to VersTracker
Description:
Formatter for Haskell source code
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: haskell formatter developer-tools linter code-style
Install: brew install fourmolu
About:
Fourmolu is a configurable source code formatter for Haskell. It is a fork of Ormolu that introduces formatting options, allowing developers to customize the output style to match their project's conventions. This flexibility makes it easier to adopt in existing codebases with established style guides.
Key Features:
  • Highly configurable formatting options
  • Preserves original AST structure
  • Supports Haskell language extensions
  • Integration with editor workflows
Use Cases:
  • Enforcing consistent code style across Haskell projects
  • Automating code formatting in CI/CD pipelines
Alternatives:
  • Brittany – Another configurable Haskell formatter, but uses a different approach to layout generation
  • Ormolu – The upstream project that Fourmolu is based on; strictly zero-configuration
  • Stylish Haskell – Focuses more on import sorting and simple alignment rather than full formatting
Version History
Detected Version Rev Change Commit
Sep 29, 2025 8:01am 0 VERSION_BUMP fc2e956f
Sep 13, 2025 5:31pm 0 VERSION_BUMP 6b0be90d
Jan 5, 2025 6:56pm 0 VERSION_BUMP 0c3637b6
Sep 13, 2024 7:33am 0 VERSION_BUMP 14d1006b