A formatter for Haskell source code
Ormolu is a formatter for Haskell source code created by Tweag that uses GHC's own parser and aims for a single, non-configurable formatting style with minimal diffs and idempotent output. The project is built in Haskell and includes a browser-based interface called Ormolu Live using the Miso framework with GHC's WASM backend, as well as a utility called extract-hackage-info that builds a database of operator fixities from Hackage packages to ensure correct formatting of operator chains. The formatter integrates with popular editors including Emacs and VS Code, supports the Haskell Language Server, and can be used as a library via its top-level Ormolu module.