[alexandria-devel] Add mkstr and simplify of 'symbolicate

Daniel Herring dherring at tentpost.com
Sun Jan 16 06:17:55 UTC 2011


On Sat, 15 Jan 2011, Liam Healy wrote:

> (defun mkstr (&rest args)
>  "Make a string out of the printed representations of the arguments."
>  (with-output-to-string (s)
>    (dolist (a args) (princ a s))))

Isn't that the same as
(defun mkstr (&rest args)
   "Make a string out of the printed representations of the arguments."
   (format nil "~{~A~}" args))
?

Is this complicated enough to be a standalone, documented function?

- Daniel




More information about the alexandria-devel mailing list