From: "Stéphane Glondu" <steph@glondu.net>
To: guillaume.yziquel@citycable.ch
Cc: OCaml List <caml-list@inria.fr>
Subject: Re: [Caml-list] Controlling module loading order.
Date: Sat, 09 Jan 2010 09:22:25 +0100 [thread overview]
Message-ID: <4B483CC1.3090505@glondu.net> (raw)
In-Reply-To: <4B479BA3.6060300@citycable.ch>
Guillaume Yziquel a écrit :
> My question is: do I have to put a line like "module X = OCamlR" in
> quantmod.ml, [...]
Sounds good. But in case the compiler is too smart and discards this,
I'd rather export explicitly an initialization function (or some dummy
value to force the dependency order) in OCamlR and call it when needed.
> [...] is there a way to load OCamlR beforehand just by
> tweaking the build process, order of modules when linking, etc...
I wouldn't rely on this.
Cheers,
--
Stéphane
next prev parent reply other threads:[~2010-01-09 8:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-08 20:54 Guillaume Yziquel
2010-01-09 8:22 ` Stéphane Glondu [this message]
2010-01-11 11:59 ` [Caml-list] " Gerd Stolpmann
2010-01-11 17:49 ` Guillaume Yziquel
2010-01-15 17:31 ` Guillaume Yziquel
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=4B483CC1.3090505@glondu.net \
--to=steph@glondu.net \
--cc=caml-list@inria.fr \
--cc=guillaume.yziquel@citycable.ch \
/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