【发布时间】:2009-01-28 10:46:06
【问题描述】:
函数是我写的
(defun test ()
(let ((str1 "foo") (str2 "bar"))
(loop for s in '(str1 str2) do (message s))))
但它不起作用。 Elisp Backtrace 消息是:
调试器进入--Lisp 错误: (wrong-type-argument stringp str1)
我怎样才能让它工作?
P.S.:以下修改版本完美运行,但我需要原始版本
(defun test1 ()
(loop for s in '("asdf" "fdsa") do (message s)))
【问题讨论】: