Write arecursive Haskell function (you cannot use existing functions) todo the following:
Write a functioncumulativeSum that takes a list of Int and returns an int list ofthe partial sums of the numbers in the list. For example:
cumulativeSum [] -> []
cumulativeSum [12, 27,13] -> [12,39,52]
Solution