Enum

sum/1

sum(enumerable)

Returns the sum of all elements of enumerable.

Raises ArithmeticError if enumerable contains a non-numeric value.