Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

sum returns the sum of all list elements

Parameter Description
lst List to operate on

Example

Example 1: Obtain the sum of a list from 1 to 5.

> (sum '(1 2 3 4 5))
15
Clone this wiki locally