News for hackers. Stuff that matters.
Re:Haskell for Web Developers by dllthomas on Friday July 26, 2013 @07:03PM (#6111052)
One could also do something like

    getContents >>= mapM_ print . drop 1 . scanl (+) 0 . map read . lines

There are no comments on this comment yet.