projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b2ca9e
)
integer-to-string working
author
David Vazquez
<davazp@gmail.com>
Tue, 18 Dec 2012 00:48:32 +0000
(
00:48
+0000)
committer
David Vazquez
<davazp@gmail.com>
Tue, 18 Dec 2012 00:48:32 +0000
(
00:48
+0000)
test.lisp
patch
|
blob
|
history
diff --git
a/test.lisp
b/test.lisp
index
e5fdc77
..
878a18f
100644
(file)
--- a/
test.lisp
+++ b/
test.lisp
@@
-123,7
+123,7
@@
(if (zerop x)
"0"
(let ((digits nil))
- (while (not (= x 0))
+ (while (not (zerop x 0))
(push (mod x 10) digits)
(setq x (truncate x 10)))
(join (mapcar (lambda (d) (string (char "0123456789" d)))