2 ms·
One can also break out of the LOOP and return the so far accumulated value: CL-USER> (loop for i from 1 below 10 sum i when
by lispm 9y ago
One can also break out of the LOOP and return the so far accumulated value:
CL-USER> (loop for i from 1 below 10
sum i
when (= i 6)
do (loop-finish))
21