From 9e14fd6d364e9e33fcc5ad38c47dafd27e4e37ee Mon Sep 17 00:00:00 2001 From: Scott Feeney Date: Fri, 20 Sep 2013 01:25:36 -0400 Subject: Haskell: fix comment out of sync with code --- haskell.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'haskell.html.markdown') diff --git a/haskell.html.markdown b/haskell.html.markdown index e3ec3f38..6b3c6e17 100644 --- a/haskell.html.markdown +++ b/haskell.html.markdown @@ -329,7 +329,7 @@ main' = interact countLines sayHello :: IO () sayHello = do putStrLn "What is your name?" - name <- getLine -- this gets a line and gives it the name "input" + name <- getLine -- this gets a line and gives it the name "name" putStrLn $ "Hello, " ++ name -- Exercise: write your own version of `interact` that only reads -- cgit v1.2.3