[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Questions about OPEN
- To: "David A. Moon" <Moon@SCRC-RIVERSIDE.ARPA>
- Subject: Questions about OPEN
- From: Rob MacLachlan <RAM@CMU-CS-C.ARPA>
- Date: Fri, 05 Oct 1984 02:33:00 -0000
- Cc: common-lisp@SU-AI.ARPA, "Robert (LISPer 68K)Heller" <heller%umass-cs.csnet@CSNET-RELAY.ARPA>
- In-reply-to: Msg of 4 Oct 1984 21:28-EDT from David A. Moon <Moon at SCRC-RIVERSIDE.ARPA>
Well, if it's constructive to flame about the file system
interface at this point, then I will add that I agree the :direction
:probe is silly. I also believe that requiring all of the
file/pathname functions to accept streams as arguments is silly. It
seems to me that this symbol/namestring/stream/pathname foolishness is
a result of the confusion between streams and pathnames and strings
and symbols that is present in earlier lisps because they lack some of
the above.
I think that it is totally silly to suggest that these operations
work on closed streams, since a closed stream can have no semantics
other than possibly its name, which could be better represented by a
pathname. If we really want to do this sort of thing, then we should
define a File-Stream-Name function that returns the pathname
associated with a file stream so that people can get the name from a
stream.
My opinon may be slightly biased by the lack of any concept of an open
file in the Sesame filesystem that underlies Spice Lisp.
Rob