From: Matej Kosik <5764c029b688c1c0d24a2e97cd764f@gmail.com>
To: caml-list@inria.fr
Subject: [Caml-list] exception Foo = Bar.Baz
Date: Mon, 25 Jul 2016 16:34:23 +0200 [thread overview]
Message-ID: <64e8e1be-7081-d683-e777-6f377968f36c@gmail.com> (raw)
Hi,
Here:
http://caml.inria.fr/pub/docs/manual-ocaml/typedecl.html#sec156
in Section 8.6.2 (Exception definitions) I read that one can define an alternate name for some existing exception.
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?
next reply other threads:[~2016-07-25 14:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-25 14:34 Matej Kosik [this message]
2016-07-25 20:02 ` Alain Frisch
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=64e8e1be-7081-d683-e777-6f377968f36c@gmail.com \
--to=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