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] camlimages vs. labltk
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-03-26 (08:33)
From: Sven Luther <luther@d...>
Subject: Re: [Caml-list] camlimages vs. labltk
On Wed, Mar 26, 2003 at 09:25:48AM +0100, Alessandro Baretta wrote:
> Shivkumar Chandrasekaran wrote:
> > I observed that both camlimages and labltk have a module 
> named "Image".
> > Any idea how I can get both to co-exist? Thanks.
> This is a problem that comes up every so often: module 
> namespace cluttering. Some time ago I had pointed a name 
> clash between the Meta module in findlib and in the dynlink 
> library. Namespace clashes are bound to come up now and then 
> until the caml team introduces a namespace construct in the 
> language.

There is already the -pack option, and the right thing to solve this
problem would be to build all libraries to make usage of it (if
possible). So you would have a CamlImage.Image module and a Labltk.Image
module, which work pretty well.

Now, library writters just need to modify their build system to take
advantage of it, starting by the INRIA released libraries, especially
the ones provided by the ocaml tarball directly like labltk.


Sven Luther

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