From: Maxence Guesdon <Maxence.Guesdon@inria.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] first class modules: differences in 3.12 vs 3.13?
Date: Wed, 30 Mar 2011 10:27:43 +0200 [thread overview]
Message-ID: <20110330102743.67835804@alcazar> (raw)
In-Reply-To: <AANLkTimSETCHe2WHMYVtgrcd_vGoH3bnWuVf_-7aMZxB@mail.gmail.com>
On Wed, 30 Mar 2011 12:02:53 +0400
Dmitry Bely <dmitry.bely@gmail.com> wrote:
> On Wed, Mar 30, 2011 at 11:57 AM, Joel Reymont <joelr1@gmail.com> wrote:
> > I get an error on this with 3.12 but no error with 3.13.0+dev2 (2010-10-22).
> >
> > let _ = Simple.main (module Client) (module Server) (module Config)
> >
> > Why? I thought 3.12 supported first-class modules.
>
> I believe module types are a must:
>
> let _ = Simple.main (module Client : CLIENT) (module Server : SERVER)
> (module Config : CONFIG)
In revision 10738, the implicit-unpack branch was merged to the trunk. I
think this allows
let _ = Simple.main (module Client) (module Server) (module Config)
instead of
let _ = Simple.main (module Client : CLIENT) (module Server : SERVER)
(module Config : CONFIG)
and that it explains the difference.
--
Maxence Guesdon http://yquem.inria.fr/~guesdon/
Service Expérimentation et Développements https://sed-roc.inria.fr/
INRIA Paris-Rocquencourt http://www.inria.fr/rocquencourt/
next prev parent reply other threads:[~2011-03-30 8:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-30 7:57 Joel Reymont
2011-03-30 8:02 ` Dmitry Bely
2011-03-30 8:27 ` Maxence Guesdon [this message]
2011-03-30 8:59 ` Anders Fugmann
2011-03-30 9:18 ` Dmitry Bely
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=20110330102743.67835804@alcazar \
--to=maxence.guesdon@inria.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