[R6RS] (delete-file <doesn't-exist>), (delete-file <can't-delete>)
sperber at informatik.uni-tuebingen.de
Wed Jan 17 11:05:17 EST 2007
"R. Kent Dybvig" <dyb at cs.indiana.edu> writes:
>> What should the behavior of `delete-file' be on files that:
>> - don't exist
>> - can't be deleted
>> Implementations seem to differ on this point. Depending on the
>> answer, this may or may not raise the question of what the return
>> value should be. (Chez, for example, appears to return a boolean
>> indicating whether the deletion was sucessful.)
>> (My personal preference would be to raise an exception with condition
>> type &file-system in both cases.)
> That is my preference as well.
I've done this, but have reused the &i/o-filename condition types from
the I/O library, seeing that those are still there. Rather than
selectively importing only the relevant half or so condition types
from (i/o ports), (r6rs files) simply exports all of them.
Yell if you object.
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
More information about the R6RS