mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-27 07:33:57 +00:00
Update haskell.html.markdown
Fixed unmatched parentheses
This commit is contained in:
parent
d92508a4cb
commit
6be90f117b
@ -269,7 +269,7 @@ foldl (\x y -> 2*x + y) 4 [1,2,3] -- 43
|
|||||||
foldr (\x y -> 2*x + y) 4 [1,2,3] -- 16
|
foldr (\x y -> 2*x + y) 4 [1,2,3] -- 16
|
||||||
|
|
||||||
-- This is now the same as
|
-- This is now the same as
|
||||||
(2 * 3 + (2 * 2 + (2 * 1 + 4)
|
(2 * 3 + (2 * 2 + (2 * 1 + 4)))
|
||||||
|
|
||||||
----------------------------------------------------
|
----------------------------------------------------
|
||||||
-- 7. Data Types
|
-- 7. Data Types
|
||||||
|
Loading…
Reference in New Issue
Block a user