Search found 1 match

by Joe Taylor
Mon Jun 20, 2011 1:02 pm
Forum: Common Lisp
Topic: Finding the minimum element in a list
Replies: 15
Views: 28301

Re: Finding the minimum element in a list

The simplest option is probably to apply the list of numbers as arguments to min.

Code: Select all

(apply #'min '(6 85 34 9 2 98))