caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] exception Foo = Bar.Baz
@ 2016-07-25 14:34 Matej Kosik
  2016-07-25 20:02 ` Alain Frisch
  0 siblings, 1 reply; 13+ messages in thread
From: Matej Kosik @ 2016-07-25 14:34 UTC (permalink / raw)
  To: caml-list

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?

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-07-27  8:38 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-25 14:34 [Caml-list] exception Foo = Bar.Baz Matej Kosik
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

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).