This website works better with JavaScript
Home
Explore
Help
Sign In
CNI
/
HaskellCourse
Watch
3
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Browse Source
Fix the foldable sum for integers
DricomDragon
5 years ago
parent
7b891cd3c7
commit
6816698882
1 changed files
with
1 additions
and
0 deletions
Unified View
Show Diff Stats
1
0
fold.hs
+ 1
- 0
fold.hs
View File
@@
-1
,
3
+
1
,
4
@@
-- Exercice from slide 46
-- Exercice from slide 46
+fsum::[
Integer
] ->
Integer
fsum = foldl (+)
0
fsum = foldl (+)
0