caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Nesting Modules
@ 2005-11-01 16:59 Tom Hawkins
  2005-11-02  1:39 ` [Caml-list] " Pietro Abate
                   ` (5 more replies)
  0 siblings, 6 replies; 20+ messages in thread
From: Tom Hawkins @ 2005-11-01 16:59 UTC (permalink / raw)
  To: caml-list

Is it possible to nest modules defined in separate files?

For example, assume I have...

   top.ml
   top.mli
   bottom.ml
   bottom.mli

Can I instruct the compiler to nest Bottom somewhere in Top, to obtain 
clean, hierarchical names (eg: Top.Bottom.some_function)?  Of course I 
can inline bottom.ml in top.ml, but then the file become rather large.

-Tom


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

end of thread, other threads:[~2005-11-02 14:36 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-01 16:59 Nesting Modules Tom Hawkins
2005-11-02  1:39 ` [Caml-list] " Pietro Abate
2005-11-02  6:43   ` Martin Jambon
2005-11-02  1:45 ` Robert Roessler
2005-11-02  2:03 ` Chris King
2005-11-02  8:42   ` Daniel Bünzli
2005-11-02 12:00     ` Tom Hawkins
2005-11-02 12:09       ` Daniel Bünzli
     [not found] ` <Pine.LNX.4.62.0511011028340.4466@ganymede.cs.unm.edu>
2005-11-02  4:47   ` Tom Hawkins
2005-11-02  9:46 ` Richard Jones
2005-11-02  9:57   ` Daniel Bünzli
2005-11-02 10:47     ` Richard Jones
2005-11-02 10:57       ` Daniel Bünzli
2005-11-02 11:27         ` Richard Jones
2005-11-02 11:59   ` Tom Hawkins
2005-11-02 12:33     ` Richard Jones
2005-11-02 13:11     ` Christophe TROESTLER
2005-11-02 14:02       ` Tom Hawkins
2005-11-02 14:36         ` Gerd Stolpmann
2005-11-02 13:34 ` Oliver Bandel

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