mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-27 15:43:58 +00:00
Merge 6be90f117b
into 7ec9e44ef0
This commit is contained in:
commit
66b3d2bc4e
@ -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
|
||||
|
||||
-- This is now the same as
|
||||
(2 * 3 + (2 * 2 + (2 * 1 + 4)
|
||||
(2 * 3 + (2 * 2 + (2 * 1 + 4)))
|
||||
|
||||
----------------------------------------------------
|
||||
-- 7. Data Types
|
||||
|
Loading…
Reference in New Issue
Block a user