EVERYTHING XIAOMI
Get listed
Side by side

Fantomas vs Fourmolu

Fantomas logo

Fantomas

6.3#10 in code formatting toolsFree plan
Free planWebLinuxmacOSWindows
Visit

Fourmolu

6.7#3 in code formatting toolsFree plan
Free planWebLinuxWindows
Visit

What both publish

FactFantomasFourmolu
ConfigurationA limited set of formatting options can be stored in `.editorconfig` and read automatically by the command line tool.Settings can be provided in a fourmolu.yaml file or as command-line options.
PurposeFantomas is an opinionated formatter for F# source code that formats files based on configuration.Fourmolu formats Haskell source code and is a configurable fork of Ormolu.

Fantomas plans

  • FantomasFree

Fourmolu plans

  • FourmoluFree

Pick Fantomas if…

Fantomas suits F# developers who want consistent formatting in repositories or automated checks. It also fits teams using the listed editor integrations or `.editorconfig` settings.

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.

Charts they share