EVERYTHING XIAOMI
Get listed
Side by side

dprint vs Fourmolu

dprint

6.1#19 in code formatting toolsFree plan
Free planExtensionLinuxmacOSSelf-hosted
Visit

Fourmolu

6.7#3 in code formatting toolsFree plan
Free planWebLinuxWindows
Visit

What both publish

FactdprintFourmolu
ConfigurationProjects use dprint.json, dprint.jsonc, .dprint.json or .dprint.jsonc files to define plugins, formatting settings, includes and excludes.Settings can be provided in a fourmolu.yaml file or as command-line options.
InstallationThe CLI is distributed as a single static binary with no runtime dependencies and can be installed via shell, PowerShell, Scoop, Homebrew, Cargo, npm, uv, mise, asdf or Arch Linux.The project documents installation through GHCup, Cabal, Stack, and dotslash.
Purposedprint is a command-line application that automatically formats code.Fourmolu formats Haskell source code and is a configurable fork of Ormolu.

dprint plans

  • Open source dprintFree

Fourmolu plans

  • FourmoluFree

Pick dprint if…

dprint suits developers who want configurable automated formatting in command-line, editor, or CI workflows. Teams should distinguish sandboxed WebAssembly plugins from executable process plugins.

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