I do believe you do want:
julia> accumulate((+), [1, 2, 3, 4, 5]) 5-element Array{Int64,1}: 1 3 6 10 15