Browse Source

Fix the foldable sum for integers

DricomDragon 5 years ago
parent
commit
6816698882
1 changed files with 1 additions and 0 deletions
  1. 1 0
      fold.hs

+ 1 - 0
fold.hs

@@ -1,3 +1,4 @@
 -- Exercice from slide 46
 
+fsum::[Integer] -> Integer
 fsum = foldl (+) 0