This website works better with JavaScript
Inicio
Explorar
Axuda
Iniciar sesión
CNI
/
HaskellCourse
Seguir
3
Destacar
0
Fork
0
Ficheiros
Incidencias
0
Pull Requests
0
Wiki
Explorar o código
Fix the foldable sum for integers
DricomDragon
%!s(int64=5) %!d(string=hai) anos
pai
7b891cd3c7
achega
6816698882
Modificáronse 1 ficheiros
con
1 adicións
e
0 borrados
Dividir vista
Mostrar estatísticas de Diff
1
0
fold.hs
+ 1
- 0
fold.hs
Ver ficheiro
@@ -1,3 +1,4 @@
-- Exercice from slide 46
+fsum::[Integer] -> Integer
fsum = foldl (+) 0