News for hackers. Stuff that matters.
Re:Why the world needs Haskell by tmoertel on Wednesday July 10, 2013 @10:50AM (#6020056)
I wasn't contradicting you but trying to reinforce the point that there's an equivalence between "impure" functions and pure functions that produce actions (having impure effects if sequenced). In particular, I wanted to highlight that (mapM_ print) is not somehow more impure than (map print). Many people seem to believe that it is.
Re:Why the world needs Haskell by chongli on Wednesday July 10, 2013 @10:54AM (#6020098)
Indeed. The source code of mapM_ is literally:

   mapM_ f as      =  sequence_ (map f as)