On Thu, Apr 12, 2012 at 2:41 AM, John Cowan <[email protected]> wrote: > Alex Shinn scripsit: > >> > What will (string->number "#x10" 8) return? >> > >> > I think the issue is with ambiguity. >> >> That would be an argument for returning #false >> on mis-matched radixes as John suggested, > > I made no such suggestion, nor any reference to `string->number` with > a second argument.
Sorry, I misread your earlier mail. > The value of the expression (string->number "0x10" 8) > is unquestionably 16. We can leave this as #false and be consistent with the vote, since we can't say anything about radix 8 anyway. -- Alex _______________________________________________ Scheme-reports mailing list [email protected] http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports
