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 -

image - ClassNotFoundException when add a prebuilt apk into system.img in android -