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

Re: arithmetic issues

This page is part of the web mail archives of SRFI 77 from before July 7th, 2015. The new archives for SRFI 77 contain all messages, not just those from before July 7th, 2015.



Taylor Campbell <campbell@xxxxxxxxxx> writes:

> CL conditions *are* comparable to NaN.

No, because they are passed out of band. They are not returned as
results of arithmetic operations nor accepted by arithmetic. So they
won't be printed along with other numeric results, and it makes no
sense to read them back in place of numbers.

> EOF objects are another example of condition objects (in the general
> sense, which has been erroneously referred to as 'error object')
> with no printed representation.

Because it's used to distinguish whether (read) has read something or
reached the end of file! The very purpose of the EOF object is to not
have a read syntax.

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak@xxxxxxxxxx
    ^^     http://qrnik.knm.org.pl/~qrczak/