Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] CTAN/CPAN for Caml (COCAN ...?)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Fernando Alegre <fernando@c...>
Subject: Re: [Caml-list] GODI (was: CTAN/CPAN for Caml (COCAN ...?))
On Sat, Jul 19, 2003 at 02:38:37PM +0200, Gerd Stolpmann wrote:

> I.e. nothing. Debian is the only distribution with good O'Caml packages
> I know. From a common point of view this is a very unsatisfactory
> situation, because Debian is not the world.

I agree, but I still think packaging is off-topic for the Ocaml list. It has
nothing specific to the Ocaml language or the ocaml compilers/interpreters.
The real problem is managing module namespace, independently of how files are
organized.

> > Packaging is off-topic. The on-topic problem is module naming. If I want
> > to use two packages in my program, but both have a module called Stuff,
> > I have a problem. Current workarounds:
> 
> I would say this is a minor problem, and not even a technical one. Why
> don't you ask the developers to rename their modules?

We should be looking for solutions under our control. Developers might
refuse (and rightly so) to rename their modules, and then we are stuck.

I have two suggestions for the Ocaml developers:

1) Make -pack use cma instead of cmo
2) Add an -alias option to the compiler (and an #alias to the interpreter)
   so that modules in the cmi/cmo files use the alias name instead of the
   file name.

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