
28 Feb
2009
28 Feb
'09
3:38 a.m.
Hello Daniel, Saturday, February 28, 2009, 3:10:44 AM, you wrote:
print may waste a lot of time, locking stdout for every line printed
hout <- openFile (args!!1) WriteMode mapM_ (hPrint hout) $ sort $ blocks content
? I find hardly any difference, though.
no difference. if handle is locked for every output operation - both versions will be equivalent. if not - they also will be equivalent :) -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com