1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-29 09:30:20 +02:00

Merge pull request #100 from ilyagr/before

Update haskell.html.markdown
This commit is contained in:
Adam Bard
2013-07-03 17:23:55 -07:00

View File

@@ -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