[alexandria-devel] char-digit

Michael Weber michaelw+alexandria at foldr.org
Wed Jul 15 08:28:34 UTC 2009


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>





More information about the alexandria-devel mailing list