hlint - Man Page

haskell source code suggestions

Examples (TL;DR)

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

See Also

The full documentation for HLint is available in /usr/share/doc/hlint/hlint.html.

Author

This   manual   page   was  written  by  Joachim Breitner <nomeata@debian.org> for the Debian system (but may be used by others).

Info

July 2009 HLint (C) Neil Mitchell 2006-2009