1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-14 02:34:17 +02:00

change haskell's operator $ description wording

for #1161
This commit is contained in:
ven
2015-07-06 10:40:05 +02:00
parent 89e2a788d8
commit 8544847845

View File

@@ -209,14 +209,15 @@ foo 5 -- 75
-- the expression on its right is applied as the parameter to the function on its left. -- the expression on its right is applied as the parameter to the function on its left.
-- before -- before
(even (fib 7)) -- false even (fib 7) -- false
-- after
even . fib $ 7 -- false
-- equivalently -- equivalently
even $ fib 7 -- false even $ fib 7 -- false
-- composing functions
even . fib $ 7 -- false
---------------------------------------------------- ----------------------------------------------------
-- 5. Type signatures -- 5. Type signatures
---------------------------------------------------- ----------------------------------------------------