[Scheme-reports] digit-value
Marc Feeley 01 Jul 2012 03:56 UTC
What is the rationale for digit-value ? Its usefullness seems limited. It could be used to parse decimal numbers and convert them to their numerical value. However, a more general procedure would be useful to parse numbers in any base:
(digit-value #\A) ==> 10
It could be defined for the "digits" 0-9, and a-z (i.e. up to base 36).
Marc
_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports