hlint (1) Linux Manual Page
HLint – haskell source code suggestions
Synopsis
hlint [files/directories] [options]Description
HLint is a tool for suggesting possible improvements to Haskell code. These suggestions include ideas such as using alternative functions, simplifying code and spotting redundancies.Options
- -? –help
- Display help message
- -v –version
- Display version information
- -r[file] –report[=file]
- Generate a report in HTML
- -h file –hint=file
- Hint/ignore file to use
- -c –color, –colour
- Color the output (requires ANSI terminal)
- -i message –ignore=message
- Ignore a particular hint
- -s –show
- Show all ignored ideas
- -t –test
- Run in test mode
Example
"To check all Haskell files in ‘src’ and generate a report type:"- hlint src –report
