EVERYTHING XIAOMI
Get listed
Side by side

Fourmolu vs Ormolu

Fourmolu

6.7#3 in code formatting toolsFree plan
Free planWebLinuxWindows
Visit

Ormolu

6.4#9 in code formatting toolsFree plan
Free planWebLinuxmacOSWindows
Visit

What both publish

FactFourmoluOrmolu
CI integrationThe README recommends the run-fourmolu GitHub Action for keeping a project formatted.The project recommends the run-ormolu GitHub Action to keep a project formatted.
InstallationThe project documents installation through GHCup, Cabal, Stack, and dotslash.The release page provides binaries for Linux, macOS, and Windows, and the project can also be installed with cabal or stack.
LimitationsThe README describes CPP support as experimental and says it works only in simple cases where CPP conditionals surround top-level declarations.CPP support is experimental and works only in simple cases where CPP conditionals surround top-level declarations.
PurposeFourmolu formats Haskell source code and is a configurable fork of Ormolu.Ormolu is a formatter for Haskell source code.

Fourmolu plans

  • FourmoluFree

Ormolu plans

  • OrmoluFree

Pick Fourmolu if…

It suits Haskell developers who want configurable source formatting, including teams seeking editor or CI integration. Developers using CPP or CRLF line endings should review its stated limitations.

Pick Ormolu if…

Ormolu suits Haskell developers who want a single shared formatting style across editors or CI. It also offers a browser version for trying the formatter without installing the desktop binaries.

Charts they share