From: Sven Luther <luther@lambda.u-strasbg.fr>
To: Basile STARYNKEVITCH <basile.starynkevitch@cea.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] version of Ocaml...
Date: Tue, 18 Jun 2002 12:05:38 +0200 [thread overview]
Message-ID: <20020618100538.GA24149@lambda.u-strasbg.fr> (raw)
In-Reply-To: <15630.64701.7112.1200@is002254.saclay.cea.fr>
On Tue, Jun 18, 2002 at 11:26:21AM +0200, Basile STARYNKEVITCH wrote:
> Dear All Ocamlers,
>
> Is there a programmatic way to get the used version of Ocaml? I am
> missing a
>
> val version: string
>
> in stdlib/sys.mli
you can use :
val version: string
(* The current version number of the system *)
from utils/config.mli, which contain various other usefull stuff.
You would need to link in the utils/config.ml file yourself though, and
it is not standardly installed when ocaml is built, so you would need to
install it yourself by hand, if i am not mistaken.
Friendly,
Sven Luther
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next prev parent reply other threads:[~2002-06-18 19:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-18 9:26 Basile STARYNKEVITCH
2002-06-18 10:05 ` Sven Luther [this message]
2002-06-18 11:37 Damien Doligez
2002-06-19 14:53 ` John Max Skaller
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=20020618100538.GA24149@lambda.u-strasbg.fr \
--to=luther@lambda.u-strasbg.fr \
--cc=basile.starynkevitch@cea.fr \
--cc=caml-list@inria.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