caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* modules
@ 2006-01-31  9:33 Brendan Miller
  2006-01-31  9:43 ` [Caml-list] modules Yann Coscoy
  0 siblings, 1 reply; 3+ messages in thread
From: Brendan Miller @ 2006-01-31  9:33 UTC (permalink / raw)
  To: caml-list

can a single module be made in several files? for example, if I had
several classes or submodules and wanted to put one in each .ml file
to make it more manageable.


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

* Re: [Caml-list] modules
  2006-01-31  9:33 modules Brendan Miller
@ 2006-01-31  9:43 ` Yann Coscoy
  0 siblings, 0 replies; 3+ messages in thread
From: Yann Coscoy @ 2006-01-31  9:43 UTC (permalink / raw)
  To: caml-list

Brendan Miller a écrit :
> can a single module be made in several files? for example, if I had
> several classes or submodules and wanted to put one in each .ml file
> to make it more manageable.

  You should have a look to option '-pack' of ocamlc and ocmlopt.

   Yann Coscoy


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

* Modules
@ 2009-11-10  8:13 Wouter Swierstra
  0 siblings, 0 replies; 3+ messages in thread
From: Wouter Swierstra @ 2009-11-10  8:13 UTC (permalink / raw)
  To: caml-list

Dear all,

I've been learning OCaml, coming from a Haskell background. While I'm
familiar with functional programming, I am occasionally puzzled by
errors relating to the module system. I was wondering if there was a
comprehensive overview/tutorial of OCaml's module system. I couldn't
find anything on the OCaml Hump - but perhaps someone on this list
might know a good reference.

Thanks in advance,

  Wouter


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

end of thread, other threads:[~2009-11-10  8:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-31  9:33 modules Brendan Miller
2006-01-31  9:43 ` [Caml-list] modules Yann Coscoy
2009-11-10  8:13 Modules Wouter Swierstra

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