From: "forum@x9c.fr" <forum@x9c.fr>
To: caml-list users <caml-list@inria.fr>
Cc: x9c <forum@x9c.fr>
Subject: Re: [Caml-list] Definition of module synonyms
Date: Fri, 18 Feb 2011 10:18:27 +0100 [thread overview]
Message-ID: <C07DF418-81BB-4414-A60B-D20ADE861BB3@x9c.fr> (raw)
In-Reply-To: <6C3CFF1F-DD4B-4BE3-BF3E-C78DCFE6200D@math.nagoya-u.ac.jp>
Le 18 févr. 2011 à 10:10, Jacques Garrigue a écrit :
> On 2011/02/18, at 17:30, forum@x9c.fr wrote:
>
>> Dear list,
>>
>> Following the goal of providing module synonyms (e. g. abbreviations for lazy
>> developers), it seemed natural to do something along the following lines:
>>
>> module M : sig
>> type t = A
>> val x : t
>> end = struct
>> type t = A
>> let x = A
>> end
>> module S : sig
>> type t = M.t = A
>> include module type of M with type t := M.t
>> end = M
>>
>> However, this is rejected with the following message:
> [...]
>
> This was just a bug (or a misfeature) in 3.12.0.
> This has been fixed long ago in the 3.12 branch, and will work in 3.12.1.
Thanks for your quick answer, and sorry for noise.
I have so many versions of Caml installed that I easily mixup things and
forget to test with one given version...
Xavier Clerc
next prev parent reply other threads:[~2011-02-18 9:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-18 8:30 forum
2011-02-18 9:10 ` Jacques Garrigue
2011-02-18 9:18 ` forum [this message]
2011-02-18 21:34 ` Norman Hardy
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=C07DF418-81BB-4414-A60B-D20ADE861BB3@x9c.fr \
--to=forum@x9c.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