News for hackers. Stuff that matters.
Re:Stack Overflow: Printing 1 to 1000 in C by die_sekte on Monday March 14, 2011 @07:39PM (#2325035)
Haskell:

    mapM_ (putStrLn . show) [1..1000]
Re:Stack Overflow: Printing 1 to 1000 in C by kamechan on Tuesday March 15, 2011 @05:38AM (#2326682)
actually, can be done more simply as:

mapM_ print [1..1000]

but yeah, ...haskell +1 for that :D