summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorScott Feeney <scott@oceanbase.org>2013-09-20 01:25:36 -0400
committerScott Feeney <scott@oceanbase.org>2013-09-20 01:25:36 -0400
commit9e14fd6d364e9e33fcc5ad38c47dafd27e4e37ee (patch)
tree21345ce56db8c22bacc1d51658ad58bc6849b7c0
parent17c69eeb16f193b319d2e73cff3ebce55ec744a8 (diff)
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