Statistics
| Branch: | Tag: | Revision:

root / htools / lint-hints.hs @ 96dad12d

History | View | Annotate | Download (432 Bytes)

# Date Author Comment
0c76f280 06/29/2012 08:34 pm Iustin Pop

Add hlint warning for wrong use of 'length'

While removing split instances check from hcheck, I saw a wrong use of
'length': this should only be used when one needs the actual length of
the list, and not when one wants to check whether the list is empty or...

5a1e31b4 12/13/2011 12:11 pm Iustin Pop

Add infrastructure for, and two extra hlint rules

This will allow us to easily use add new lint rules that we
standardise on, if any.

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>