concept hlint in category haskell

appears as: hlint
Haskell in Depth

This is an excerpt from Manning's book Haskell in Depth.

The hlint tool (hackage.haskell.org/package/hlint) is an extremely useful Haskell code linter.

Code quality may be considered as a part of the quality assurance. Although there is no single rule or a set of rules defining the right style of the Haskell code, it may be helpful to follow some guidelines. One particular set of guidelines is incorporated into the hlint utility. This utility reads Haskell code and provides recommendations on how to improve it.

For example, let’s check the ParseIP module using hlint: