summaryrefslogtreecommitdiffhomepage
path: root/haskell.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'haskell.html.markdown')
-rw-r--r--haskell.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell.html.markdown b/haskell.html.markdown
index bc712505..840569fb 100644
--- a/haskell.html.markdown
+++ b/haskell.html.markdown
@@ -245,7 +245,7 @@ case args of
_ -> putStrLn "bad args"
-- Haskell doesn't have loops because it uses recursion instead.
--- map calls a function over every element in an array
+-- map applies a function over every element in an array
map (*2) [1..5] -- [2, 4, 6, 8, 10]