From: Jacques Garrigue <garrigue@math.nagoya-u.ac.jp>
To: rossberg@mpi-sws.org
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Bug in the module system of version 3.12.0+beta1
Date: Thu, 22 Jul 2010 19:44:24 +0900 [thread overview]
Message-ID: <3D1C2CD6-7F45-4F2C-881A-14494E382636@gmail.com> (raw)
In-Reply-To: <eba06d53a3e944d03b2ffcde9f82684f.squirrel@mail.mpi-sws.org>
On 2010/07/22, at 18:37, rossberg@mpi-sws.org wrote:
> "Jacques Garrigue" <garrigue@math.nagoya-u.ac.jp> wrote:
>>
>> module type MyModuleType(Param:ParamType) = sig ... end
>>
>> But this just doesn't make sense.
>
> Hm, I would disagree. It makes perfect sense, it just wouldn't desugar in
> the way Dumitru thought it should.
>
> /Andreas
I actually agree with you, since at some point I thought of adding this
kind of syntactic sugar for functors returning a signature.
But, seeing Dumitru's reasonning, this might well be confusing.
Anyway, I think that destructive substitution provides the same expressive
power in a more uniform way (using intra-signature dependencies).
Jacques
next prev parent reply other threads:[~2010-07-22 10:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-21 13:38 Dumitru Potop-Butucaru
2010-07-21 14:13 ` [Caml-list] " Jeremy Yallop
2010-07-21 15:49 ` rossberg
2010-07-21 18:41 ` Dumitru Potop-Butucaru
2010-07-22 2:29 ` Alain Frisch
2010-07-22 6:36 ` Dumitru Potop-Butucaru
2010-07-22 6:18 ` Jacques Garrigue
[not found] ` <4C47E768.4080507@inria.fr>
[not found] ` <9454F06C-C286-4A1F-8A9F-CA3B27F8E3BB@gmail.com>
2010-07-22 7:07 ` Dumitru Potop-Butucaru
2010-07-22 9:37 ` rossberg
2010-07-22 10:44 ` Jacques Garrigue [this message]
2010-07-22 12:28 ` Dumitru Potop-Butucaru
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=3D1C2CD6-7F45-4F2C-881A-14494E382636@gmail.com \
--to=garrigue@math.nagoya-u.ac.jp \
--cc=caml-list@inria.fr \
--cc=rossberg@mpi-sws.org \
/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