[Haskell-cafe] Cleaner way to write code and handle errors?

Erik de Castro Lopo mle+hs at mega-nerd.com
Tue Jun 28 10:32:54 CEST 2011

Ivan Lazar Miljenovic wrote:

> I don't think you need all those return () everywhere... And at the
> end, why do you do "line <- getLine" when you don't use the result?

The hlint program would have flagged both of those and possibly
others. See:


Erik de Castro Lopo

More information about the Haskell-Cafe mailing list