[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Scheme-reports] Unintended consequences of #319
-----BEGIN PGP SIGNED MESSAGE-----
On 04/10/2012 10:59 AM, John Cowan wrote:
> Ticket #319, which requires that `string->number`, `read`, and the
> program reader used by the implementation all impose the same
> restrictions, if any, on reading numbers, was adopted by the WG on
> the fifth ballot.
> The rules used by a particular implementation for string->number
> must also be applied toread and to the routine that reads
> programs, in order to maintain consistency between internal numeric
> processing, I/O, and the processing of programs. As a consequence,
> the R5RS permission to return #f whenstring has an explicit radix
> prefix has been withdrawn.
:clip: - current levels of support.
> However, as I don't think the WG foresaw this, I'm posting this
> advisory to see if there are any comments.
It seems to me that the new behavior, and the specification, are
both improved by this change, and I would tend to dismiss as an
(easily corrected) flaw any failure by implementations to have
already done it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
Scheme-reports mailing list