
22 Apr
2013
22 Apr
'13
1:29 p.m.
The vast majority of people use the first form. I guess the second form
would be used if void were in prelude but it isn't, so no one does.
On Mon, Apr 22, 2013 at 7:41 AM, harry
I have some monadiccode of the form: foo >>= something >>= bar >> return ()
HLint is telling me to change this to: void (foo >>= something >>= bar)
Why is the second form considered better? I actually find the original to be clearer.
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners