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

list-min returns the smallest elements of the list.

Parameter Description
lst List to operate on

Example

Example 1: Get the highest and lowest element of a list

> (define lst '(1 2 3 4 5 6 7 8 9))
> (list-min lst)
1
> (list-max lst)
9
Clone this wiki locally