[racket-dev] Character classification

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Tue Sep 4 11:03:07 EDT 2012

On Tue, Sep 4, 2012 at 10:57 AM, Pierpaolo Bernardi <olopierpa at gmail.com> wrote:
>
> What is annoying is that char-numeric? and string->number are not compatible.

`char-numeric?` and `string->number` would not be "compatible" in the
sense you're thinking of, even with the change you mention.

For example:

-> (string->number "+i")
0+1i
-> (string->number "1#e4")
100000.0

-- 
sam th
samth at ccs.neu.edu

Posted on the dev mailing list.