caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
To: Gustave Nimant <gustave.nimant@free.fr>
Cc: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: Re: [Caml-list] How to get the path of Filename.current_dir_name
Date: Wed, 5 Oct 2016 16:35:23 +0200	[thread overview]
Message-ID: <2997EF8BB84A4B43853ACE2C38CA1E16@erratique.ch> (raw)
In-Reply-To: <57F50A2E.5020900@free.fr>

On Wednesday 5 October 2016 at 16:11, Gustave Nimant wrote:
> Dear list,
> 
> I would like to get the path of the current directory where the current 
> executed module is implemented.
> Is there any builtin constant ?

Your request is a little bit unclear. To what Gabriel said I will add that you may be interested in these magical values: 

http://caml.inria.fr/pub/docs/manual-ocaml/libref/Pervasives.html#6_Debugging

Daniel

      parent reply	other threads:[~2016-10-05 14:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-27 15:04 [Caml-list] [ANN] BAP 1.0.0 Ivan Gotovchits
2016-10-04 13:30 ` Anil Madhavapeddy
2016-10-05 14:11 ` [Caml-list] How to get the path of Filename.current_dir_name Gustave Nimant
2016-10-05 14:22   ` Gabriel Scherer
2016-10-05 14:34     ` Pierrick Couderc
2016-10-10  8:47       ` Gustave Nimant
2016-10-10  9:01         ` Pierrick Couderc
2016-10-10 10:26           ` Gustave Nimant
2016-10-05 14:35   ` Daniel Bünzli [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2997EF8BB84A4B43853ACE2C38CA1E16@erratique.ch \
    --to=daniel.buenzli@erratique.ch \
    --cc=caml-list@inria.fr \
    --cc=gustave.nimant@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).