By Alvin Alexander. Last updated: June 12, 2017
“putStrLn
doesn’t print to standard out, it returns a value — of type IO ()
— which describes how to print to standard out, but stops short of actually doing it.”
From the article, An IO Monad for Cats.