[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).


Scheme-reports mailing list