Zach Beane <xach@...> writes:
> Christophe Rhodes <csr21@...> writes:
>> (format stream "The function ~? is undefined."
>> 'print-symbol-with-prefix (list (cell-error-name condition)))))
> I didn't try this with a condition, but just from the REPL, I get a type
> failure; PRINT-SYMBOL-WITH-PREFIX is not a format control string as ~?
> Am I missing something?
No, I did: a single #\# character. The ~? needs a format control, which
is a string or a function designator.
(format t "The function ~? is undefined."
#'print-symbol-with-prefix[new-definition] (list 'foo))