Search code examples
lispclisp

Lisp - string concat


I am trying to concat strings in lisp, using clisp on linux.
I run following code:

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

but, get following error:

EVAL: undefined function STRCAT
EVAL: undefined function ITOA

Any suggestion?


Solution

  • 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."