
15 May
2013
15 May
'13
2:25 p.m.
irfan hudda wrote:
Because the code fun1 :: Int -> String fun1 1 = "hell" fun1 2 = 3 has obvious errors I was expecting HLint to display those errors.
The compiler show errors, hlint provides coding style suggestions. Two different tools for two different jobs. I usually only run hlint on code after I am sure it compiles. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/