list min - part-cw/lambdanative GitHub Wiki

(list-min lst)

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