Parcourir la source

Fix the foldable sum for integers

DricomDragon il y a 5 ans
Parent
commit
6816698882
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      fold.hs

+ 1 - 0
fold.hs

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