Ver código fonte

Fix the foldable sum for integers

DricomDragon 5 anos atrás
pai
commit
6816698882
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      fold.hs

+ 1 - 0
fold.hs

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