next | previous | forward | backward | up | top | index | toc | home

sum(List) -- sum the elements of a list

Synopsis

Description

sum v yields the sum of the elements in the list v.

i1 : sum {1,2,3,4,5}

o1 = 15

See also