summaryrefslogtreecommitdiffhomepage
path: root/haskell.html.markdown
diff options
context:
space:
mode:
authorven <vendethiel@hotmail.fr>2015-07-06 10:40:05 +0200
committerven <vendethiel@hotmail.fr>2015-07-06 10:40:05 +0200
commit8544847845c0405e54acadf5125edc0554d73b75 (patch)
tree1ea2741eea2443a08b6b9cfaa2b87e0aa80d79b0 /haskell.html.markdown
parent89e2a788d88132bfb4d09eadd12a4ff55b431627 (diff)
change haskell's operator `$` description wording
for #1161
Diffstat (limited to 'haskell.html.markdown')
-rw-r--r--haskell.html.markdown9
1 files changed, 5 insertions, 4 deletions
diff --git a/haskell.html.markdown b/haskell.html.markdown
index 6a64442f..369b1b20 100644
--- a/haskell.html.markdown
+++ b/haskell.html.markdown
@@ -209,14 +209,15 @@ foo 5 -- 75
-- the expression on its right is applied as the parameter to the function on its left.
-- before
-(even (fib 7)) -- false
-
--- after
-even . fib $ 7 -- false
+even (fib 7) -- false
-- equivalently
even $ fib 7 -- false
+-- composing functions
+even . fib $ 7 -- false
+
+
----------------------------------------------------
-- 5. Type signatures
----------------------------------------------------