Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Alternative proposal: COAN
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Michal Moskal <malekith@p...>
Subject: Re: [Caml-list] Re: hierarchical modules
On Sat, Mar 01, 2003 at 07:09:14PM +0100, Xavier Leroy wrote:
> > I prefer specifying the container module name on the command line or
> > adding a "package" declaration to the source file as in Java.
> 
> Well, that would be necessary to address your point 1, and would also
> remove the dependency on the GNU binutils tools (for ocamlopt -pack).
> The one drawback of this approach is that compiled files thus
> "pre-packed" could not be linked or loaded in the toplevel, only the
> packed container would be; that might make testing a bit harder.

IMHO not linking all modules packed with -pack when only one of them is
referenced is much more important. At least until we'll have shared
libraries.

-- 
: Michal Moskal ::::: malekith/at/pld-linux.org :  GCS {C,UL}++++$ a? !tv
: PLD Linux ::::::: Wroclaw University, CS Dept :  {E-,w}-- {b++,e}>+++ h

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