[r6rs-discuss] string->number

Michael Sperber sperber at deinprogramm.de
Sat Mar 21 12:39:56 EDT 2009


"leppie" <xacc.ide at gmail.com> writes:

> The R6RS states string->number NEVER raises an exception and ALWAYS returns 
> a number or #f.
>
> Does that mean even if one passes a non-string and/or an invalid radix (not 
> a number or not 2/8/10/16)  it should return #f?

Yes.  This was discussed at some length among the editors, for example,
here:

http://www.r6rs.org/r6rs-editors/2006-August/001799.html

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla



More information about the r6rs-discuss mailing list