eff DeleteFile
An effect used to delete a file.
Use the DeleteFile.runWithFileWrite handler.
DeleteFile.runWithFileWrite
def delete(f: String): Result[IoError, Unit] \ DeleteFile
Deletes the given file f.
f
Fails if the file does not exist.
def runWithFileWrite(f: Unit -> a \ ef): a \ (ef - DeleteFile) + FileWrite
Handles the DeleteFile effect of the given function f using the FileWrite effect.
DeleteFile
FileWrite