[Haskell] ANN: HLint 1.6.8

Neil Mitchell ndmitchell at gmail.com
Wed Sep 9 09:48:39 EDT 2009


Hi,

I am pleased to announce HLint 1.6.8. HLint is a tool for suggesting
improvements to your source code. It suggests the use of library
functions you may have been unaware of, finds patterns of recursion
that are really folds/maps, hints about extensions you aren't using
and much more. HLint is now one of the top 20 applications on Hackage,
and is used by the darcs project to improve and statically check their
code base. HLint is ideal for learning Haskell, but is of use even to
experienced developers. I now refuse to code review any Haskell that
hasn't had HLint applied, as HLint automates the dull bits allowing
people to do the more advanced higher-level reviews.

Installation: cabal update && cabal install hlint
Hackage: http://hackage.haskell.org/package/hlint
Home page: http://community.haskell.org/~ndm/hlint/
Manual: http://community.haskell.org/~ndm/darcs/hlint/hlint.htm

HLint 1.6.8 is a _strongly_ recommended upgrade. It fixes quite a few
bugs, in particular it requires a newer version of cpphs which doesn't
have a very severe bug that could lead to non-termination.

== NEW FEATURES (since the last announcement) ==

* Changelog is now maintained:
http://community.haskell.org/~ndm/darcs/hlint/CHANGES.txt
* Lots of bugfixes (thanks to everyone who reported bugs)
* Add suggestion to replace lambda with operator sections
* Hints about redundant imports
* Added -threaded flag to Cabal to disable threaded mode
* Hints about unused extensions
* Hints about functors
* Integrates with cpphs to process CPP files
* Integrate with HPC, and increase the test coverage (now ~ 70%). I
would like to express my thanks to the HPC authors (Andy Gill and
Colin Runciman) and encourage everyone to use it in their testing.

I welcome any comments/bug reports for HLint,

Thanks, Neil


More information about the Haskell mailing list