[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Scheme-reports] [scheme-reports-wg1] Unintended consequences of #319
On Thu, Apr 12, 2012 at 2:41 AM, John Cowan <cowan@x> 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
Scheme-reports mailing list