
14 Apr
2008
14 Apr
'08
9:12 a.m.
Neil Mitchell wrote:
Unlines puts a trailing new line at the end of every line, including the final one. putStrLn puts an additional trailing new line, so you get 2 at the end.
Thanks for that clarification.
mapM_ putStrLn == putStr . unlines
I'm wondering which (==) you mean here ;) Tillmann