summaryrefslogtreecommitdiffhomepage
path: root/haskell.html.markdown
diff options
context:
space:
mode:
authorCornel Punga <cornel.punga@gmail.com>2015-03-16 21:15:17 +0200
committerCornel Punga <cornel.punga@gmail.com>2015-03-16 21:15:17 +0200
commitadb92e5263cdb0e156c4c29dd3a48a9a042ade1e (patch)
tree937b936e68c0afb152ff192cabef772804d2bf43 /haskell.html.markdown
parentbf73893f58a40565c858badcdcc74e47a46c75b7 (diff)
parent4e00fa4734bd39436f3336b4ce1034b65c265657 (diff)
Merge pull request #1 from nero-luci/nero-luci-patch-1
Update haskell.html.markdown. Wrong explanation about '$' operator
Diffstat (limited to 'haskell.html.markdown')
-rw-r--r--haskell.html.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/haskell.html.markdown b/haskell.html.markdown
index 79fbf09f..d5dfd122 100644
--- a/haskell.html.markdown
+++ b/haskell.html.markdown
@@ -202,9 +202,9 @@ foo = (*5) . (+10)
foo 5 -- 75
-- fixing precedence
--- Haskell has another function called `$`. This changes the precedence
--- so that everything to the left of it gets computed first and then applied
--- to everything on the right. You can use `$` (often in combination with `.`)
+-- Haskell has another function called `$`. Anything appearing after it will
+-- take precedence over anything that comes before.
+-- You can use `$` (often in combination with `.`)
-- to get rid of a lot of parentheses:
-- before