[R6RS] (delete-file <doesn't-exist>), (delete-file <can't-delete>)
    R. Kent Dybvig 
    dyb at cs.indiana.edu
       
    Sun Jan  7 13:54:20 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.)
That is my preference as well.
Kent
    
    
More information about the R6RS
mailing list