HLINT(1)
π¦ HLint β haskell source code suggestions π¦
okay bestie, so this is the HLint manual page (that's section 1 of the User Commands manual, iykyk) and honestly? it's giving "your very opinionated Haskell friend who's always right." let's get into it π
β¨ SYNOPSIS β¨
hlint [files/directories] [options]
literally just point it at stuff and hand it options, that's the whole vibe π«Ά
πΈ DESCRIPTION πΈ
HLint is a tool for suggesting possible improvements to Haskell code. no cap.
the suggestions include ideas such as using alternative functions, simplifying code and spotting redundancies. it's basically a vibe check for your codebase β except the codebase is the one getting checked πβ¨
π OPTIONS π
-?,--helpβ Display help message. your "wait what do I do again" button π«Ά-v,--versionβ Display version information.-r[file],--report[=file]β Generate a report in HTML. cute little HTML report, iconic π-h file,--hint=fileβ Hint/ignore file to use.-c,--color,--colourβ Color the output (requires ANSI terminal). yes, both spellings β she's bilingual π note the ANSI terminal requirement, bestie, fr fr.-i message,--ignore=messageβ Ignore a particular hint.-s,--showβ Show all ignored ideas. the receipts π-t,--testβ Run in test mode.
π₯ EXAMPLE π₯
"To check all Haskell files in 'src' and generate a report type:"
hlint src --report
ate. no crumbs. that's it, that's the whole example π
π SEE ALSO π
The full documentation for HLint is available in /usr/share/doc/hlint/hlint.html. go read it, it's lowkey the main character π
π AUTHOR π
This manual page was written by Joachim Breitner <nomeata@debian.org> for the Debian system (but may be used by others). slay, thank you Joachim π«Ά
heads up bestie: this page is HLint (C) Neil Mitchell 2006-2009, and it's dated July 2009 β so like, vintage, but make it β¨iconicβ¨. written in the User Commands manual, section 1, and yeah, that's a wrap ππ¦π
π¦ where this page comes from
- epel 10: hlint 3.6.1-7.el10_0 Β· BSD-3-Clause
- epel 9: hlint 3.2.8-4.el9 Β· BSD
- fedora 43: hlint 3.8-10.fc43 Β· BSD-3-Clause
- fedora 44: hlint 3.10-12.fc44 Β· BSD-3-Clause
- nixos 26.05: hlint 3.10
- nixpkgs unstable: hlint 3.10
- opensuse-leap 16.0: ghc-hlint-devel 3.8-bp160.1.24 Β· BSD-3-Clause
- opensuse-leap 16.0: ghc-hlint-devel 3.8-bp160.1.24 Β· BSD-3-Clause
- opensuse-leap 16.0: ghc-hlint-devel 3.8-bp160.1.24 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms