This module provides a library interface to HLint. The current interface is strongly modelled on the command line interface, and is expected to evolve.
This function takes a list of command line arguments, and returns the given suggestions.
To see a list of arguments type
hlint --help at the console.
This function usually writes to the stdout/stderr streams.
As an example:
do hints <- hlint ["src", "--ignore=Use map"] when (length hints > 3) $ error "Too many hints!"
A suggestion - the
Show instance is of particular use.