caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jacques Garrigue <garrigue@math.nagoya-u.ac.jp>
To: Alain Frisch <alain@frisch.fr>
Cc: Christophe Troestler <Christophe.Troestler@umons.ac.be>,
	OCaml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] First class modules aliases
Date: Sat, 15 Feb 2014 08:23:08 +0900	[thread overview]
Message-ID: <E313BF52-E184-4425-9E6A-F776AD32D2CA@math.nagoya-u.ac.jp> (raw)
In-Reply-To: <52FDE063.4050207@frisch.fr>

On 2014/02/14 18:22, Alain Frisch wrote:

> On 02/14/2014 10:08 AM, Jacques Garrigue wrote:
> > On 2014/02/14 17:57, Alain Frisch wrote:
>>>   One way to fix it would be to tweak the "strengthening" algorithm 
> which adds equalities to module types in order to turn a module type declaration to an alias to the original definition instead of copying it.
>> 
>> This is already done in trunk.
> 
> Are you sure?  I don't see it.  We're talking about keeping equations for module type declarations, not for module declarations, right?

Sorry, I got confused.
What trunk does is allowing to use aliases of module types in first class modules.
This was not allowed before.
What you suggest is also introducing aliases in place of copying for module types when using include.
This would be useless without the previous change, but makes sense with it.

	Jacques

  reply	other threads:[~2014-02-14 23:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-14  7:23 Christophe Troestler
2014-02-14  8:57 ` Alain Frisch
2014-02-14  9:08   ` Jacques Garrigue
2014-02-14  9:22     ` Alain Frisch
2014-02-14 23:23       ` Jacques Garrigue [this message]
2014-02-14  9:39   ` Alain Frisch
     [not found] ` <20140215.152342.1020588167010524975.Christophe.Troestler@umons.ac.be>
2014-02-15 15:05   ` [Caml-list] First class modules from C Alain Frisch

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=E313BF52-E184-4425-9E6A-F776AD32D2CA@math.nagoya-u.ac.jp \
    --to=garrigue@math.nagoya-u.ac.jp \
    --cc=Christophe.Troestler@umons.ac.be \
    --cc=alain@frisch.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;
as well as URLs for NNTP newsgroup(s).