OCaml toplevel print current directory? -
within ocaml toplevel trying print current directory.
i.e.
# filename.current_dir_name;;
which returns
- : string = "."
which not useful.
what toplevel command needed display full path of current directory?
many system calls can done via sys
in case, sys.getcwd();;
Comments
Post a Comment