Browse Source

Create a non compilable foldable sum

DricomDragon 5 years ago
parent
commit
7b891cd3c7
1 changed files with 3 additions and 0 deletions
  1. 3 0
      fold.hs

+ 3 - 0
fold.hs

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