
17 Jan
2010
17 Jan
'10
5:43 a.m.
On Sun, Jan 17, 2010 at 10:33:45AM +0000, Andrew Coppin wrote:
Tony Morris wrote:
main = do putStrLn "Line 1" putStrLn "Line 2"
let xs = do x <- [1..10] y <- [1..10] return (x+y)
print xs
Urg, but that's *ugly*. Is there no way I can reduce the amount of indentation to something more reasonable?
Sure: start a new line and indentation level after every where, let, do or of.