Re: [Scheme-reports] [scheme-reports-wg1] Unintended consequences of #319 Alex Shinn (11 Apr 2012 23:24 UTC)

Re: [Scheme-reports] [scheme-reports-wg1] Unintended consequences of #319 Alex Shinn 11 Apr 2012 23:24 UTC

On Thu, Apr 12, 2012 at 2:41 AM, John Cowan <cowan@mercury.ccil.org> 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