On Tue, Mar 05, 2013 at 03:49:13PM +0100, Andy Wingo wrote: > Hi Ian, > > On Mon 09 Jul 2012 14:29, Ian Price <ianpric...@googlemail.com> writes: > > > PARSE ERROR ("+InF.0" +inf.0 "+inf.0" "+Inf.0") => #f > > PARSE ERROR ("-iNF.0" -inf.0 "-inf.0" "-Inf.0") => #f > > PARSE ERROR ("+NAN.0" +nan.0 "+nan.0" "+NaN.0") => #f > > These are not errors. +NAN.0 is not even not a number :)
I double-checked, but in the upcoming R7RS it is (see 7.1, paragraph 2 of draft 7). It looks like R6RS was case-sensitive in its numerical syntax and +NAN.0 is disallowed by it. Cheers, Peter -- http://www.more-magic.net