(defun test (n)
(let ((list1 ()))
(while (< (length list1) 10))
(push (random n) list1)
list1))
I'm trying to add (random n)
to list1
while the length
of list1
is less than 10. When I evaluate this function, it hangs. What am I doing wrong?