[plt-scheme] string->number

Eli Barzilay eli at barzilay.org
Thu Mar 6 01:52:09 EST 2008


On Mar  6, tom sgouros wrote:
> 
> Hello all:
> 
> Another Rip-van-Winklish question as I work my way through my old code.
> Did string->number change its definition sometime in the last few years?
> I have old code that seems to depend on this:
> 
>   (string->number " 0000")  => 0
> 
> But what that gets is:
> 
>   (string->number " 0000")  => #f
> 
> it's possible that the other end changed here (the device that delivers
> the " 0000"), so I'm curious to know if there was a change on the scheme
> side.  Any ideas?

It's been that way for at least a decade, since v53.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!



More information about the plt-scheme mailing list