This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home.

Ticket 457: Generalize ASCII digits to all Unicode decimal digits

2012-07-15 01:35:31
WG1 - Core
alexshinn
major
cowan
wontfix
source
closed
2012-07-05 09:22:28
defect

Currently, only ASCII digits are supported by string->number, read, and Scheme numeric literals. However, the numeric-char? and new digit-value procedures return #t and the numeric value on any Unicode decimal digit that the Scheme implementation provides. (Decimal digits have a general classification code of Nd.) Unicode provides 46 sets of decimal digits, all allocated to sub-blocks of 10 consecutive codepoints.

This proposal requires string->number, read, and Scheme numeric literals to support all Unicode decimal digits that are supported by the application.

resolutionwontfix
statusnewclosed

Rejected by the editorial team as extremely unlikely to pass. There is no precedent in any other programming language for non-ASCII digits in decimal literals.