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.

Source for ticket #457

cc


    

changetime

2012-07-15 01:35:31

component

WG1 - Core

description

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.

id

457

keywords


    

milestone


    

owner

alexshinn

priority

major

reporter

cowan

resolution

wontfix

severity


    

status

closed

summary

Generalize ASCII digits to all Unicode decimal digits

time

2012-07-05 09:22:28

type

defect

Changes

Change at time 2012-07-15 01:35:31

author

cowan

field

comment

newvalue

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.

oldvalue

1

raw-time

1342290931938069

ticket

457

time

2012-07-15 01:35:31

Change at time 2012-07-15 01:35:31

author

cowan

field

resolution

newvalue

wontfix

oldvalue


    

raw-time

1342290931938069

ticket

457

time

2012-07-15 01:35:31

Change at time 2012-07-15 01:35:31

author

cowan

field

status

newvalue

closed

oldvalue

new

raw-time

1342290931938069

ticket

457

time

2012-07-15 01:35:31