Atom - S - Sum

Characters: S

Tags: math , number , array

Arity: monadic

This atom is monadic, which means it takes one argument.


Return the sum of a list (left-reduce over + starting at 0).


This atom should work roughly the same way as or very similarly in concept to the following code snippets (some edge case exceptions may exist):