From: Hendrik Tews <tews@os.inf.tu-dresden.de>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] functor substitution gives error
Date: Tue, 07 Sep 2010 15:32:53 +0200 [thread overview]
Message-ID: <6xhbi1k7ay.fsf@blau.inf.tu-dresden.de> (raw)
In-Reply-To: <29A499AD-55AD-4A5A-84EE-7BE4D0A98B14@gmail.com> (Jacques Garrigue's message of "Tue, 7 Sep 2010 19:48:21 +0900")
Jacques Garrigue <garrigue@math.nagoya-u.ac.jp> writes:
On 2010/09/06, at 18:12, Hendrik Tews wrote:
> I have a strange compilation problem, which I suspect to be a
> compiler bug. Consider the following nested functor application
The reason is that the typing of modules is not closed under substitution.
I am really surprised by this! I was sure I hit a compiler
problem, especially because changing the order of the
with-constraints solved the problem.
The solution is easy enough: name all modules.
May I suggest to put a few words about this in the ocaml
reference manual?
Thanks for the hint,
Hendrik
next prev parent reply other threads:[~2010-09-07 13:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-06 9:12 Hendrik Tews
2010-09-06 9:39 ` [Caml-list] " Daniel Bünzli
2010-09-07 20:46 ` Jacques Garrigue
2010-09-07 10:48 ` Jacques Garrigue
2010-09-07 13:32 ` Hendrik Tews [this message]
2010-09-07 13:54 ` Daniel Bünzli
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=6xhbi1k7ay.fsf@blau.inf.tu-dresden.de \
--to=tews@os.inf.tu-dresden.de \
--cc=caml-list@yquem.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