Browse Source

Make the foldable sum working on every num

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

+ 1 - 1
fold.hs

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