English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] -pack option for .mli only modules
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-01-23 (13:16)
From: Jun.Furuse@i...
Subject: [Caml-list] -pack option for .mli only modules

I have got a problem of -pack option of ocamlc and ocamlopt. 

OCaml's -pack option nicely creates a package module from more than 
object files (.cmo/.cmx) of more than one modules. Using this
packaging, we can avoid name space collision problem. 

But at this moment there is no way of packaging only .mli modules,
since they do not produce object files. The type signatures of such
.ml-less-modules are kept from packaing, and I faced to name

Is there any work-around for this, except creating corresponding .ml
files for them ?


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