Posts by João Silva • 11 points
1 post
-
1
votes0
answers61
viewsQ: Return lower value from a list - Lisp
I want to return the smallest value of a list with an iterative function in Lisp. The code I have is this:: (defun rmin (lista) (let ((minim (first lista))) (loop for a in (lista) (if (< a minim)…