Re: [Scheme-reports] [Chicken-hackers] [PATCH] Omit warning about exact fractions when asked for an inexact value John Cowan 23 Mar 2012 14:43 UTC

Peter Bex scripsit:

> One question though: what is (string->number "#i1/0") supposed to return?
> I think +inf.0 is sane, but you could probably also make a case for #f.

I think +inf.0 is correct, though many Schemes do return #f.

> Suggestion:  Improve the wording in string->number's description

[details snipped]

Ticket #363 filed.  Note that string->number can still throw an exception
such as "out of memory".

--
John Cowan              http://www.ccil.org/~cowan      cowan@ccil.org
Would your name perchance be surname Puppet, given name Sock?
                --Rick Moen

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports