
23 Nov
2007
23 Nov
'07
5:25 p.m.
On Fri, 2007-11-23 at 23:01 +0100, Roberto Zunino wrote:
Maurício wrote:
main = mapM_ ((putStrLn "") >*> putStrLn) $ map show [1,2,3]
Using only standard combinators:
main = mapM_ ((putStrLn "" >>) . putStrLn) $ map show [1,2,3]
== mapM_ ((putStrLn "" >>) . putStrLn . show) [1,2,3] == mapM_ ((putStrLn "" >>) . print) [1,2,3]