diff options
author | Cornel Punga <cornel.punga@gmail.com> | 2015-03-16 21:15:17 +0200 |
---|---|---|
committer | Cornel Punga <cornel.punga@gmail.com> | 2015-03-16 21:15:17 +0200 |
commit | adb92e5263cdb0e156c4c29dd3a48a9a042ade1e (patch) | |
tree | 937b936e68c0afb152ff192cabef772804d2bf43 | |
parent | bf73893f58a40565c858badcdcc74e47a46c75b7 (diff) | |
parent | 4e00fa4734bd39436f3336b4ce1034b65c265657 (diff) |
Merge pull request #1 from nero-luci/nero-luci-patch-1
Update haskell.html.markdown. Wrong explanation about '$' operator
-rw-r--r-- | haskell.html.markdown | 6 |
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 |