number->string now returns a fresh string for 0.

This commit is contained in:
Abdulaziz Ghuloum 2007-12-30 18:37:37 -05:00
parent 771b9699b5
commit b2d67a552d
2 changed files with 2 additions and 2 deletions

View File

@ -386,7 +386,7 @@
(define $fixnum->string
(lambda (x radix)
(cond
[($fxzero? x) "0"]
[($fxzero? x) (string #\0)]
[($fx> x 0)
(call-with-values
(lambda () (f x 0 0 radix))

View File

@ -1 +1 @@
1296
1297