On Jul 15, 2009, at 00:52 , Gustavo wrote:
I find very strange that the ANSI specification defines the function DIGIT-CHAR, but doesn't also define CHAR-DIGIT. It would be nice to have it in alexandria.
See also DIGIT-CHAR-P: "Tests whether char is a digit in the specified radix (i.e., with a weight less than radix). If it is a digit in that radix, its weight is returned as an integer; otherwise nil is returned."
http://www.lispworks.com/documentation/lw50/CLHS/Body/f_digi_1.htm