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
[email protected]   http://per.bothner.com/

_______________________________________________
Scheme-reports mailing list
[email protected]
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports

Reply via email to