
22 Nov
2011
22 Nov
'11
5:46 p.m.
hlint gives me a parse error on a clause using DoIfThenElse, even if I have the language pragma. I don't see any hlint options to get around that, are there any? Is it considered good style to write code like this? if "" == results then return True else return False The obvious way rewrite below just seems clunky to me (though I can see how others might prefer it to the code above). return $ if "" == results then True else False thanks Lee