Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Delete-a-file/F-Sharp/delete-a-file.fs
Normal file
10
Task/Delete-a-file/F-Sharp/delete-a-file.fs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
open System.IO
|
||||
|
||||
[<EntryPoint>]
|
||||
let main argv =
|
||||
let fileName = "input.txt"
|
||||
let dirName = "docs"
|
||||
for path in ["."; "/"] do
|
||||
ignore (File.Delete(Path.Combine(path, fileName)))
|
||||
ignore (Directory.Delete(Path.Combine(path, dirName)))
|
||||
0
|
||||
Loading…
Add table
Add a link
Reference in a new issue