
18 Feb
2005
18 Feb
'05
8:10 p.m.
Hmm. I find both examples significantly more difficult to read for
lack of standard indentation (the first more so than the second). I'd
prefer my compiler to disallow such.
mike
John Meacham
I think of this as a very useful feature. it should be documented in the extensions section. mainly, I find it very useful in two circumstances:
short circuit return:
main = do foo if bar then return baz else do whizz bang
with declarations
main = do withCString x $ \x' -> do withCString y $ \y' -> do c_func x' y'
John