Преглед изворни кода

Fix the foldable sum for integers

DricomDragon пре 5 година
родитељ
комит
6816698882
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      fold.hs

+ 1 - 0
fold.hs

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