I'm new to haskell and am working on a function called combineAll.
Its input is going to be three integer lists, and its output will be one integer list.
It's going to return a sum of the three lists in corresponding order.
For example, if the input value is :
[[1,0,0,0],[1,1,1,0],[1,1,0,0]]
Then the output value will be :
[3,2,1,0]
I defined its signature as:
combineAll :: [[Int]] -> [Int]
I tried zipWith (+) but since it takes two inputs, it seems impossible for me to build up the recursion.
Any help would be appreciated!