我是新來的Lisp和不知道該怎麼寫......從列表中創建對列表
You give: ("Test" "TEST" "third" "the last")
You get: (("A" . "Test") ("B" . "TEST") ("C" . "third") ("D" . "the last"))
Function: (defun choices (&rest choices))
在C,我可以只寫這個for
,但Lisp的能't +1到字符串和循環沒有計數器,無論是...有人請給我一個樣本?
正是我想要的!感謝您的示例和解釋:-) –