Iter::sum

Calculate sum over all elements. If there is no element, 0 is returned.

Type

sum :: Iter a -> a