How do I loop over a longer list with map that depends on a shorter list wrapping it to apply some function to the longer list in Common Lisp?

前端 未结 0 1017
执念已碎
执念已碎 2020-12-25 11:40

Basically, I\'d like the equivalent of this code in Common Lisp, but in a preferably more convenient way.

(defun circular (items) (setf (cdr (last items)) ite         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题