3 ms·
You don't have to write recursion-heavy code in Lisp. You can if you want to, and it hurts less than doing the same in many other languages, but iteration in Li
by gjm11 16y ago
You don't have to write recursion-heavy code in Lisp. You can if you want to, and it hurts less than doing the same in many other languages, but iteration in Lisp works just fine too. (The Common Lisp LOOP macro basically gives you a little embedded language just for expressing iteration. So does ITERATE, which some people prefer but isn't in the standard.)