Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] module / directory tree OR #include for camp4
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] module / directory tree OR #include for camp4
On Mon, Apr 26, 2004 at 03:10:27PM +0200, Jean-Baptiste Rouquier wrote:
> So my question is: Is there a canonical way to have submodules with the 
> same name (in different modules) in separate files, allowing to generate 
> documentation and use ocamlopt ? It would be even better if the 
> directory tree would be reflected in the module tree.

A pretty hideous solution would be to use a Makefile to concatenate
source files together, eg: part1.frag part2.frag part3.frag
	cat $^ > $@

Then edit the individual fragments ...


Richard Jones.
Merjis Ltd. - improving website return on investment
Perl4Caml lets you use any Perl library in your type-safe Objective
CAML programs.

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: