Re:Simplified Common Lisp reference
by juki on Tuesday May 02, 2017 @04:58AM
(#14244984)
I assume you're thinking about Schemes `(let loop (...) ...)`, but that doesn't exist in Common Lisp. CL:LOOP is a looping macro with its own small DSL.
[ Parent
| on HN ]
That's a step up from loops with 'goto':
(prog ((result '())
(i 0))
loop
(when (>= i 5)
(return (reverse result)))
(when (evenp i)
(push i result))
(incf i)
(go loop))tagbody/go is implementation detail of macro expansion though.