Przeglądaj źródła

Create a non compilable foldable sum

DricomDragon 5 lat temu
rodzic
commit
7b891cd3c7
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      fold.hs

+ 3 - 0
fold.hs

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