You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 2964 Reporter: administrator Status: closed Resolution: not a bug Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Original bug ID: 2964
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Hi,
I was reading
http://caml.inria.fr/ocaml/htmlman/libref/Filename.html
and basename claims:
Split a file name into directory name / base file name. concat (dirname
name) (basename name) returns a file name which is equivalent to name.
Sys.executable_name;;
let n = Sys.executable_name in (Filename.dirname n)^(Filename.basename
n);;
Plus, it doesn't seem to be possible to ask the ocaml library for the
path separator; it doesn't seem like it would be correct on Windows to
use '/'.
Thanks!
pat
The text was updated successfully, but these errors were encountered: