Re: [Scheme-reports] digit-value Marc Feeley (01 Jul 2012 12:55 UTC)
Re: [Scheme-reports] digit-value Alex Shinn (01 Jul 2012 20:28 UTC)
Re: [Scheme-reports] digit-value Marc Feeley (02 Jul 2012 12:08 UTC)
Re: [Scheme-reports] digit-value Alaric Snell-Pym (02 Jul 2012 12:21 UTC)
Re: [Scheme-reports] digit-value John Cowan (03 Jul 2012 07:16 UTC)
Re: [Scheme-reports] digit-value Alaric Snell-Pym (03 Jul 2012 08:50 UTC)
Re: [Scheme-reports] digit-value Pierpaolo Bernardi (03 Jul 2012 09:11 UTC)
Re: [Scheme-reports] digit-value John Cowan (03 Jul 2012 14:45 UTC)
Re: [Scheme-reports] digit-value Pierpaolo Bernardi (03 Jul 2012 15:58 UTC)
Re: [Scheme-reports] digit-value John Cowan (04 Jul 2012 04:22 UTC)
(missing)
Re: [Scheme-reports] digit-value John Cowan (05 Jul 2012 02:25 UTC)
Re: [Scheme-reports] digit-value John Cowan (03 Jul 2012 03:19 UTC)

Re: [Scheme-reports] digit-value Alaric Snell-Pym 03 Jul 2012 08:49 UTC

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

On 07/03/2012 08:16 AM, John Cowan wrote:
> Alaric Snell-Pym scripsit:
>
>> I think it's worth mentioning that if the implementation supports
>> exciting beyond-ASCII (not just Unicode) digits, their numeric
>> value (as defined in whatever standard defines the character set,
>> such as the Unicode numeric value proprety) needs to be supported
>> by the implementation, for consistency.
>
> AFAIK only Unicode has any concept of the decimal-digit value
> property, and no other character set supports any digits other than
> the European (ASCII) set.

Yeah, that's just future-proofed wording as we already have the idea of
non-Unicode characters lurking around.

>> char-numeric? certainly seems to be of limited use without it, but
>> is the char-numeric?/digit-value pair actually useful at all in the
>> scope of WG1, given string->number?
>
> Unless we are to extend `string->number` to handle non-European
> digits (and then `read`, and then numeric literals?), I think so.
>

Well, if digit-value exists and handles all those fun cases, then I
think that read (and, therefore by definition, numeric literals), should
do so too for consistency and to avoid having to have two parallel
digit->number conversions lurking inside every implementation, one a
subset of the other.

ABS

- --
Alaric Snell-Pym
http://www.snell-pym.org.uk/alaric/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/ysjIACgkQRgz/WHNxCGqlMgCfZqVEukHdec+hYb0FLKOpzLUG
blcAnjQkYmCvm5WC2SF9CALnoVJ0p0MZ
=MHxR
-----END PGP SIGNATURE-----

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