Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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.

Friendly,

Sven Luther

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners