mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-21 05:51:31 +02:00
Update haskell.html.markdown
Fixed unmatched parentheses
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user