Delete a file: Difference between revisions
m
OCaml: rmdir has been added to Sys
Jazzedpineda (talk | contribs) No edit summary |
m (OCaml: rmdir has been added to Sys) |
||
Line 1,250:
<syntaxhighlight lang="ocaml">Sys.remove "input.txt";;
Sys.remove "/input.txt";;
Sys.rmdir "docs";;
Sys.rmdir "/docs";;</syntaxhighlight>
with the Unix library:
|