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

A few random I/O proposals



   Date: Wed, 27 May 92 23:52:51 -0400
   From: "Aubrey Jaffer" <jaffer@martigny.ai.mit.edu>

   Most, if not all, Schemes signal error if a #f is passed instead of a
   port, whereas C just goes crazy.  Scheme's type system provides
   detection of this error.  That is why it is easier to find an unopened
   port in Scheme than in C.  Comparison with C is not very applicable
   here.

Not true.  Most if not all is in error, but there are few requirements
to signal one (and guess where they are).

In addition, consing operations, closing over such a value, etc. do
not, and those are common operations.

I just don't believe in getting the error in an obscure way at a very
different time from when it was detected.