[R6RS] (delete-file <doesn't-exist>), (delete-file <can't-delete>)
Michael Sperber
sperber at informatik.uni-tuebingen.de
Fri Jan 5 05:45:39 EST 2007
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.)
--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
More information about the R6RS
mailing list