diff options
author | ven <vendethiel@hotmail.fr> | 2015-04-27 11:39:15 +0200 |
---|---|---|
committer | ven <vendethiel@hotmail.fr> | 2015-04-27 11:39:15 +0200 |
commit | bb9caecca449c6615f7c7d0bc98de7f415bc8f89 (patch) | |
tree | e9c8c31a8b45d40cd22b8ddb380546e630cc20aa /haskell.html.markdown | |
parent | d394fcc96a967e88d72c429350edb4c1e01455f1 (diff) | |
parent | 745ce28d7e72a1de6a1a386f91f8fcae0c99b324 (diff) |
Merge pull request #1072 from TiddoLangerak/patch-1
Fixed haskell foldr example
Diffstat (limited to 'haskell.html.markdown')
-rw-r--r-- | haskell.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell.html.markdown b/haskell.html.markdown index f28fcfe7..6a64442f 100644 --- a/haskell.html.markdown +++ b/haskell.html.markdown @@ -282,7 +282,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 * 1 + (2 * 2 + (2 * 3 + 4))) ---------------------------------------------------- -- 7. Data Types |