
22 Nov
2007
22 Nov
'07
6:32 a.m.
Hello Peter, Thursday, November 22, 2007, 11:19:20 AM, you wrote:
Of course the worksFine function returns an IO action, so has different behavior, but I mean the indentation is different. Is this by design?
to be exact, Haskell "procedure" is just a function returning an action. i recommend you to read http://haskell.org/haskellwiki/IO_inside the exact reason is different layout rules of expressions and "do" construct, as was already described -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com