From: Alain Frisch <alain.frisch@lexifi.com>
To: Matej Kosik <5764c029b688c1c0d24a2e97cd764f@gmail.com>,
caml-list@inria.fr
Subject: Re: [Caml-list] exception Foo = Bar.Baz
Date: Mon, 25 Jul 2016 22:02:27 +0200 [thread overview]
Message-ID: <07e4f1d2-f61f-4047-b1a0-7339b78825e3@lexifi.com> (raw)
In-Reply-To: <64e8e1be-7081-d683-e777-6f377968f36c@gmail.com>
On 25/07/2016 16:34, Matej Kosik wrote:
> That means that, at present, one can put something like:
>
> exception Foo = Bar.Baz
>
> inside a _module structure_.
>
> I am currently wondering why we are not allowed (also) to put this into a _module signature_ ?
> Is this a deliberate decision (why?) or merely an omission?
What would be the use of putting that in a module signature instead of
just "exception Foo"? (This could perhaps allow the compiler to report
more pattern as being useless, but this is of limit benefit.)
-- Alain
next prev parent reply other threads:[~2016-07-25 20:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-25 14:34 Matej Kosik
2016-07-25 20:02 ` Alain Frisch [this message]
2016-07-25 20:05 ` Gabriel Scherer
2016-07-26 9:36 ` Leo White
2016-07-26 12:37 ` Gabriel Scherer
2016-07-26 16:27 ` Alain Frisch
2016-07-26 16:32 ` Gabriel Scherer
2016-07-27 8:07 ` Alain Frisch
2016-07-27 8:27 ` Gabriel Scherer
2016-07-27 8:38 ` Alain Frisch
2016-07-27 8:19 ` Leo White
2016-07-26 9:02 ` Matej Kosik
2016-07-26 12:13 ` Gerd Stolpmann
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=07e4f1d2-f61f-4047-b1a0-7339b78825e3@lexifi.com \
--to=alain.frisch@lexifi.com \
--cc=5764c029b688c1c0d24a2e97cd764f@gmail.com \
--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