Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
4
Task/Delete-a-file/OCaml/delete-a-file-1.ocaml
Normal file
4
Task/Delete-a-file/OCaml/delete-a-file-1.ocaml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
Sys.remove "input.txt";;
|
||||
Sys.remove "/input.txt";;
|
||||
Sys.rmdir "docs";;
|
||||
Sys.rmdir "/docs";;
|
||||
5
Task/Delete-a-file/OCaml/delete-a-file-2.ocaml
Normal file
5
Task/Delete-a-file/OCaml/delete-a-file-2.ocaml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#load "unix.cma";;
|
||||
Unix.unlink "input.txt";;
|
||||
Unix.unlink "/input.txt";;
|
||||
Unix.rmdir "docs";;
|
||||
Unix.rmdir "/docs";;
|
||||
Loading…
Add table
Add a link
Reference in a new issue