Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* Default module type?
@ 2008-09-25 12:19 Christian Sternagel
  2008-09-25 13:02 ` [Caml-list] " Ashish Agarwal
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Sternagel @ 2008-09-25 12:19 UTC (permalink / raw)
  To: caml-list

Hi there,

when I have a file m.ml I can use

include M

in other *.ml files to include the content of m.ml. However, the same 
functionality for module types seems not to exist. I have an interface 
file m.mli and want to use

include M

within another *.mli file (so that I only have to write the 
documentation for module M once, namely in m.mli). But there is no
module type M. Does anyone have the same problem and/or have a solution?

cheers

christian sternagel


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

end of thread, other threads:[~2008-09-25 13:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-25 12:19 Default module type? Christian Sternagel
2008-09-25 13:02 ` [Caml-list] " Ashish Agarwal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox