From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA00064; Fri, 23 Jan 2004 14:16:58 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA01074 for ; Fri, 23 Jan 2004 14:16:57 +0100 (MET) From: Jun.Furuse@inria.fr Received: from pareto.inria.fr.inria.fr (lamarck.inria.fr [128.93.1.21]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id i0NDGvP13554 for ; Fri, 23 Jan 2004 14:16:57 +0100 (MET) Date: Fri, 23 Jan 2004 14:16:57 +0100 Message-ID: To: caml-list@inria.fr Subject: [Caml-list] -pack option for .mli only modules User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 MULE XEmacs/21.4 (patch 14) (Reasonable Discussion) (i386-debian-linux) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Loop: caml-list@inria.fr X-Spam: no; 0.00; furuse:01 -pack:01 mli:01 -pack:01 ocamlc:01 ocamlopt:01 ocaml's:01 cmx:01 collision:01 mli:01 work-around:01 cmo:01 signatures:02 modules:02 modules:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello, 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 collisions. Is there any work-around for this, except creating corresponding .ml files for them ? -- Jun ------------------- 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