Explorar el Código

Fix the foldable sum for integers

DricomDragon hace 5 años
padre
commit
6816698882
Se han modificado 1 ficheros con 1 adiciones y 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