
Hlint doesn't compile your code. It only looks for common patterns in
code that are usually bad. It is going on the assumption that your
code already compiled and you are just looking for some advice on
refactoring.
234234 = do
return 1
gives
Blah5.hs:2:10: Error: Redundant do
Found:
do return 1
Why not:
return 1
On Wed, May 15, 2013 at 2:04 PM, irfan hudda
I install HLint via cabal (output http://hpaste.org/88021) To check if it was working I used following code
fun1 :: Int -> String fun1 1 = "hell" fun1 2 = 3
and ran HLint on it $ ~/.cabal/bin/hlint hlint_test.hs No suggestions
and it ouputs no suggestions any ideas?
Additionally $ ~/.cabal/bin/hlint -v HLint v1.8.45, (C) Neil Mitchell 2006-2012
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners