我想要这样的东西在共同的 lisp 中。
(format t "~{-~}" repeat-times)
如果重复次数为 5 将打印 -----
如果重复次数为 10 将打印 ----------
格式是否存在这样做的方法?
format common-lisp
common-lisp ×1
format ×1