[r6rs-discuss] interpretation of file options
William D Clinger
will at ccs.neu.edu
Mon Jul 21 23:24:15 EDT 2008
With respect to file options, which have effect only
when a file is opened for output or for combined
input/output, it appears to me that:
----
In several situations, the R6RS apparently insists
upon raising an exception even though the no-fail
option has been specified.
Opening a file with the no-truncate option by itself
appears to be equivalent to opening the file with
the default options.
Opening a file with both the no-create and no-fail
options appears to be equivalent to opening the file
with the no-create option alone.
Opening a file with all three standard options
(no-create, no-fail, and no-truncate) appears to
be equivalent to opening the file with just the
no-create and no-truncate options.
----
For a case analysis in support of the above
conclusions, see [1].
Do R6RS experts see anything wrong with my
conclusions above?
Will
[1] https://trac.ccs.neu.edu/trac/larceny/ticket/527
More information about the r6rs-discuss
mailing list