ORMOLU(1)
π ORMOLU π
okay bestie, so this is the manual page for ormolu β it's a User Commands situation, section 1 of the manual, and it's literally about ormolu version 0.7.7.0. it's a Haskell source formatter and it's giving main character energy, no cap. let's get into it π«Ά
β¨ NAME β¨
ormolu β manual page for ormolu 0.7.7.0 π
πΈ SYNOPSIS πΈ
ormolu [-v|--version] [--manual-exts] [-i | (-m|--mode MODE)]
π¦ DESCRIPTION π¦
so like, here's the rest of the synopsis, it's a long one, stay with me:
[-o|--ghc-opt OPT] [-f|--fixity FIXITY] [-r|--reexport REEXPORT]
[-p|--package PACKAGE] [-u|--unsafe] [-d|--debug]
[-c|--check-idempotence] [--color WHEN] [--start-line START]
[--end-line END] [--no-cabal] [--no-dot-ormolu]
[--stdin-input-file ARG] [-t|--source-type TYPE] [FILE]
that's it that's the whole vibe. now the options, which are the actual β¨contentβ¨.
π Available options:
-h,--helpβ Show this help text π like literally the thing you're reading rn-v,--versionβ Print version of the program π gotta know what you're working with--manual-extsβ Display extensions that need to be enabled manually π-iβ A shortcut for--mode inplaceβ‘ it's the glow-up button, it rewrites your file right there-m,--mode MODEβ Mode of operation:'stdout'(the default),'inplace', or'check'π sostdoutis the default bestie,inplaceedits the file,checkjust... checks-o,--ghc-opt OPTβ GHC options to enable (e.g. language extensions) π§-f,--fixity FIXITYβ Fixity declaration to use (an override) π an override, so it wins-r,--reexport REEXPORTβ Module re-export that Ormolu should know about π-p,--package PACKAGEβ Explicitly specified dependency (for operator fixity/precedence only) π note the parenthetical, it's only for operator fixity/precedence, don't get it twisted-u,--unsafeβ Do formatting faster but without automatic detection of defects π yeah so it's faster but it stops checking for defects, choose wisely-d,--debugβ Output information useful for debugging π₯-c,--check-idempotenceβ Fail if formatting is not idempotent π--color WHENβ Colorize the output;WHENcan be'never','always', or'auto'(the default) πΈ yesautois the default, it just figures it out--start-line STARTβ Start line of the region to format (starts from 1) β note that it starts from 1, not 0, we are not doing zero-indexing today--end-line ENDβ End line of the region to format (inclusive) π«Ά inclusive!! so it includes that line--no-cabalβ Do not extract default-extensions and dependencies from.cabalfiles π--no-dot-ormoluβ Do not look for.ormolufiles π--stdin-input-file ARGβ Path which will be used to find the.cabalfile when using input from stdin π v specific, v useful-t,--source-type TYPEβ Set the type of source;TYPEcan be'module','sig', or'auto'(the default) β¨ again,autois the default, she's flexible like thatFILEβ Haskell source files to format or stdin (the default) π so you can pass files, or just pipe it in from stdin, which is the default
using ghc-lib-parser 9.10.3.20250912 π§β¨ lowkey iconic
and that's the whole page bestie, we ate, no crumbs left. this was ormolu version 0.7.7.0, manual page date February 2026, and yeah it's the ORMOLU(1) page, section 1, user commands, that's the source and the version and the date all wrapped up in a cute little bow ππ slay, periodt.
π¦ where this page comes from
- fedora 44: ormolu 0.7.7.0-11.fc44 Β· BSD-3-Clause AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms