Explorar o código

Fix the foldable sum for integers

DricomDragon %!s(int64=5) %!d(string=hai) anos
pai
achega
6816698882
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      fold.hs

+ 1 - 0
fold.hs

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