Posts by Daniel • 11 points
1 post
-
0
votes1
answer107
viewsQ: Doubt, mistake Haskell
I want to sum the values of a list of lists in Haskell using the map function, but of the error. Type error gastoEmpresa :: [[Float]] -> Float gastoEmpresa xss = map(map sum xss)…