فهرست منبع

Create a non compilable foldable sum

DricomDragon 5 سال پیش
والد
کامیت
7b891cd3c7
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      fold.hs

+ 3 - 0
fold.hs

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