Browse Source

Fix the foldable sum for integers

DricomDragon 5 năm trước cách đây
mục cha
commit
6816698882
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      fold.hs

+ 1 - 0
fold.hs

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