The non-cooperation between char-numeric? and string->number is very annoying.

I had to resort to:

(define (my-char-numeric? c)
  (char<=? #\0 c #\9))

Maybe I am missing a function similar to my-char-numeric? somewhere in
the Racket docs?

FWIW, my humble opinion is that char-numeric? should be defined as the
my- version above. The Unicode category, if that's what one wants, can
be accessed with char-general-category.

Cheers
P.
_________________________
  Racket Developers list:
  http://lists.racket-lang.org/dev

Reply via email to