diff options
author | Tiddo Langerak <tiddolangerak@gmail.com> | 2015-04-27 10:16:16 +0200 |
---|---|---|
committer | Tiddo Langerak <tiddolangerak@gmail.com> | 2015-04-27 10:16:16 +0200 |
commit | 745ce28d7e72a1de6a1a386f91f8fcae0c99b324 (patch) | |
tree | e9c8c31a8b45d40cd22b8ddb380546e630cc20aa /haskell.html.markdown | |
parent | d394fcc96a967e88d72c429350edb4c1e01455f1 (diff) |
Fixed haskell foldr example
For #1068
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 |