I'm learning haskell and saw function compositions.
Tried to composite map and foldl
mapd = (map.foldl)
Than
test = (mapd (\x y -> x + y ) [1,2,3,4])
Type of test is
test :: [[Integer] -> Integer]
So what is this type declaration means?