Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何将矢量转换为方案中的列表?vector 上几乎没有什么程序。
'#(1 2)
列表中有类似 car 或 cdr 的东西吗?谢谢
也许你的意思是,这个?
(apply string-append (map number->string (vector->list '#(1 2)))) => "12"
更新
哎呀,你刚刚改变了问题。然后就简单多了:
(vector->list '#(1 2)) => '(1 2)