Lisp - 字符串concat

时间:2014-07-12 10:23:00

标签: lisp clisp

我正在尝试使用linux上的clisp在lisp中连接字符串 我运行以下代码:

(defun bingo ()
  (strcat "Correct! You guessed " (itoa *count*) " times."))

但是,得到以下错误:

EVAL: undefined function STRCAT
EVAL: undefined function ITOA

有什么建议吗?

1 个答案:

答案 0 :(得分:4)

CL-USER 1 > (format nil "This is too easy. ~a day I'll learn Lisp." 1)
"This is too easy. 1 day I'll learn Lisp."