Hi everybody, I am he beginner in Lisp. One of my first aim is to do dotimes macro with DO loop. Can anybody help to to modify my code? This is it:
(defmacro dotimes2 (lista &body body)
(let ((second lista) 0)
`(progn
(do ((,(first lista) ,(second lista (2+ ,(first lista))))
((>= ,(first lista) ,(second lista)) ,return-value)
,@body)))))Last edited by nuntius on , edited 1 time in total. Reason: add code tag, tweak whitespace