HLINT(1)

πŸ“¦
version 3.10 Β· 2 versions
, in epel 10, epel 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

πŸ¦‹ 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 πŸ’–πŸ¦‹πŸŽ€