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

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -