mapM_ (putStrLn . show) [1..1000]
mapM_ print [1..1000]
but yeah, ...haskell +1 for that :D
Reply on news.ycombinator.com