[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] Unintended consequences of #319



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

;clip:

> 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.

				Bear
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPhbO9AAoJEAOzWkqOibfNqaAIAIsUiEwBaMHrsxkwflxA1Jto
zPuTyJsznmJthnP8dKk6H3aA4EuhA21dFtOoR+Vb4cJ47ZyQuZeQYkrP9Wo0maiG
HNXwLFoHyuTW0dhVet86yAz8Qd0/kxmVuFOboupPzfhsLLlhsVNQRp+utKU0aLHt
qLfU2E3mBYPMp7kqekO2e1Z3ncj7V+J9FhFnaqNWruNY0oH8aPRPXaR2yN5jQVDe
FDRfNxdHc4Vv0mQc95h497sl1M3wC6Dv7p/1bt+obRF/00U6xY857dwg99U/Mctt
7Uf7KwRADe0SucP3FMPAcXrSn7IZOKTJNNLLlCyIJ8Z1Nk0f2xOLpe6JebfofTE=
=06nz
-----END PGP SIGNATURE-----

_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports