[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] [scheme-reports-wg1] Unintended consequences of #319

My feeling (which I don't feel strongly about):

(string->number "#x10") ==> 16

(string->number "#x10" 8) ==> #f

(string->number "#x10" 10) ==> #f

I.e. if you specify a radix argument, then it's an error to have
a radix prefix.  If you don't specify a radix argument, then the
default is 10, but a radix prefix is allowed, just as with read.
	--Per Bothner
per@x   http://per.bothner.com/

Scheme-reports mailing list