summaryrefslogtreecommitdiffhomepage
path: root/haskell.html.markdown
diff options
context:
space:
mode:
authorGeoff Liu <g@geoffliu.me>2015-08-30 14:22:11 -0600
committerGeoff Liu <g@geoffliu.me>2015-08-30 14:22:11 -0600
commiteb7e58d5fc649ed2713c7685539bd5edcd9e8ade (patch)
tree72a9fe5106bed0735089b5c7a2b22540f7ebb3a7 /haskell.html.markdown
parent1d1def16a5d7925bb8f7fba7dc49182e33359e85 (diff)
parentb124fd58df56a5e1ee9925481fbde1f22ccfb386 (diff)
Merge remote-tracking branch 'upstream/master'
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
----------------------------------------------------