caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Ivan Gotovchits <ivg@ieee.org>
To: Markus Mottl <markus.mottl@gmail.com>
Cc: William Smith <bills@emu-bark.com>,  Caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Declaring a parameterized type in a .mli
Date: Mon, 08 Apr 2013 08:09:42 +0400	[thread overview]
Message-ID: <8738v1r7cp.fsf@golf.niidar.ru> (raw)
In-Reply-To: <CAP_800qXGr5cgtPqGBca8=-jn1G1B7U63fCShgfpS3Hh9t9FuQ@mail.gmail.com> (Markus Mottl's message of "Mon, 8 Apr 2013 00:05:49 -0400")

Markus Mottl <markus.mottl@gmail.com> writes:

> On Sun, Apr 7, 2013 at 11:57 PM, Ivan Gotovchits <ivg@ieee.org> wrote:
>> > module Id = GenericID( IDRoot )
>> Compiler is right =) You can't do this in a module type specification.
>
> Note, however, that this will work:
>
>   module Id : module type of GenericID (IDRoot)
>
> Regards,
> Markus

Absolutely... but only since 3.12.

-- 
         (__) 
         (oo) 
   /------\/ 
  / |    ||   
 *  /\---/\ 
    ~~   ~~   
...."Have you mooed today?"...

      reply	other threads:[~2013-04-08  4:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-08  3:17 William Smith
2013-04-08  3:57 ` Ivan Gotovchits
2013-04-08  4:05   ` Markus Mottl
2013-04-08  4:09     ` Ivan Gotovchits [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=8738v1r7cp.fsf@golf.niidar.ru \
    --to=ivg@ieee.org \
    --cc=bills@emu-bark.com \
    --cc=caml-list@inria.fr \
    --cc=markus.mottl@gmail.com \
    /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).