Selaa lähdekoodia

Fix the foldable sum for integers

DricomDragon 5 vuotta sitten
vanhempi
commit
6816698882
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      fold.hs

+ 1 - 0
fold.hs

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