Day 1: IO — Our Ugly Friend
Here’s a program:
main = do
text <- getLine
putStr "Your name is: "
putStrLn text
We can run it like this:
$ ./One
Ben
Your name is: Ben
These were the top 10 stories published by Twelve Monads of Christmas in December of 2016. You can also dive into daily archives for December of 2016 by using the calendar at the top of this page.