chiark
/
gitweb
/
~mdw
/
lisp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
67cb674
)
mdw-base (stringify): Use princ-to-string.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 19 Dec 2006 16:11:45 +0000
(16:11 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Tue, 19 Dec 2006 16:11:45 +0000
(16:11 +0000)
mdw-base.lisp
patch
|
blob
|
blame
|
history
diff --git
a/mdw-base.lisp
b/mdw-base.lisp
index 072c8d6e69218cacfe1fa9f064fe8a9b3807c81a..88ef8bae5f45cec84e646609dbb0fa9f7e350a9f 100644
(file)
--- a/
mdw-base.lisp
+++ b/
mdw-base.lisp
@@
-80,8
+80,7
@@
(defun stringify (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