caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: David Rajchenbach-Teller <David.Teller@ens-lyon.org>
To: Christophe Raffalli <Christophe.Raffalli@univ-savoie.fr>
Cc: Caml <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] About namespaces
Date: Fri, 21 Nov 2008 10:24:30 +0100	[thread overview]
Message-ID: <1227259470.6486.7.camel@Blefuscu> (raw)
In-Reply-To: <4925DD43.1000700@univ-savoie.fr>

On Thu, 2008-11-20 at 22:57 +0100, Christophe Raffalli wrote:
> And what about include (it is your import) ? It allows what you want and
> is short ?

No, [include] is the low-level mechanism which must be used to implement
the higher-level [import]. The main difference being that [import] needs
to read information from all the (findlib) packages which are being used
to compile your project and determine all the modules from each package
which are registered as providing [List]. The programmer doesn't need to
know the exact name of each module.

Does that make things any clearer?

Cheers,
 David


-- 
David Teller-Rajchenbach
 Security of Distributed Systems
  http://www.univ-orleans.fr/lifo/Members/David.Teller
 Angry researcher: French Universities need reforms, but the LRU act brings liquidations. 


  reply	other threads:[~2008-11-21  9:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-20 21:29 David Rajchenbach-Teller
2008-11-20 21:57 ` [Caml-list] " Christophe Raffalli
2008-11-21  9:24   ` David Rajchenbach-Teller [this message]
2008-11-22 19:30 ` Ashish Agarwal

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=1227259470.6486.7.camel@Blefuscu \
    --to=david.teller@ens-lyon.org \
    --cc=Christophe.Raffalli@univ-savoie.fr \
    --cc=caml-list@yquem.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;
as well as URLs for NNTP newsgroup(s).