mdw-base (stringify): Use princ-to-string.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 19 Dec 2006 16:11:45 +0000 (16:11 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 19 Dec 2006 16:11:45 +0000 (16:11 +0000)
mdw-base.lisp

index 072c8d6..88ef8ba 100644 (file)
@@ -80,8 +80,7 @@
   (typecase str
     (string str)
     (symbol (symbol-name str))
   (typecase str
     (string str)
     (symbol (symbol-name str))
-    (t (with-output-to-string (s)
-        (princ str s)))))
+    (t (princ-to-string str))))
 
 (defun mappend (function list &rest more-lists)
   "Apply FUNCTION to corresponding elements of LIST and MORE-LISTS, yielding
 
 (defun mappend (function list &rest more-lists)
   "Apply FUNCTION to corresponding elements of LIST and MORE-LISTS, yielding