News for hackers. Stuff that matters.
Re:IO Monad Considered Harmful by wz1000 on Friday January 23, 2015 @06:55AM (#8934425)
The 'do' is superfluous.

It would be much better as

    main = let greet name = putStrLn ("Hello, " ++ name)
                in getLine >>= greet

There are no comments on this comment yet.