Przeglądaj źródła

Fix the foldable sum for integers

DricomDragon 5 lat temu
rodzic
commit
6816698882
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      fold.hs

+ 1 - 0
fold.hs

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