
10 Jan
2011
10 Jan
'11
6:20 a.m.
why has the following code indentation problem ?
rollDice n = do let myGen = if doesFileExist "/dev/urandom" then betterStdGen else (mkStdGen . fromInteger) <$> picoSec
because "if" starts in the same column as "myGen", so the parser inserts a ";" before the "if". J.W.