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

[Scheme-reports] digit-value



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@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports