Browse Source

Create a non compilable foldable sum

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

+ 3 - 0
fold.hs

@@ -0,0 +1,3 @@
+-- Exercice from slide 46
+
+fsum = foldl (+) 0