[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] [Chicken-hackers] [PATCH] Omit warning about exact fractions when asked for an inexact value



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@x
Would your name perchance be surname Puppet, given name Sock?
                --Rick Moen

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