summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam Bard <github@adambard.com>2013-09-19 23:08:48 -0700
committerAdam Bard <github@adambard.com>2013-09-19 23:08:48 -0700
commit432869b39794177c1b33c5eb318123b7b57227b3 (patch)
tree21345ce56db8c22bacc1d51658ad58bc6849b7c0
parent17c69eeb16f193b319d2e73cff3ebce55ec744a8 (diff)
parent9e14fd6d364e9e33fcc5ad38c47dafd27e4e37ee (diff)
Merge pull request #358 from graue/patch-1
Haskell: fix comment out of sync with code
-rw-r--r--haskell.html.markdown2
1 files changed, 1 insertions, 1 deletions
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