caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Expressing module sig and impl in mli file
@ 2012-09-18 21:02 Malcolm Matalka
  2012-09-18 21:13 ` Gabriel Scherer
  0 siblings, 1 reply; 12+ messages in thread
From: Malcolm Matalka @ 2012-09-18 21:02 UTC (permalink / raw)
  To: caml-list

I'm sure this question has been asked before but I didn't see it in
the Ocaml FAQ and I'm not sure how to express it for a search.

In short, how do I express the following line in a .mli file:

module Foo : Bar = Baz

What I want to accomplish is make present the module Foo to the user,
where they know both the interface and the concerete types on Foo.

Thanks!

/Malcolm

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

end of thread, other threads:[~2012-09-19  8:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-18 21:02 [Caml-list] Expressing module sig and impl in mli file Malcolm Matalka
2012-09-18 21:13 ` Gabriel Scherer
2012-09-18 21:31   ` Malcolm Matalka
2012-09-18 22:40     ` Malcolm Matalka
2012-09-19  2:11       ` Edgar Friendly
2012-09-19  7:11         ` David House
2012-09-19  7:36           ` Malcolm Matalka
2012-09-19  7:49             ` David House
2012-09-19  7:51               ` David House
2012-09-19  8:00                 ` Malcolm Matalka
2012-09-19  8:11                   ` Gabriel Scherer
2012-09-19  7:25       ` Jacques Garrigue

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