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 UAA04207; Wed, 25 Aug 2004 20:54:20 +0200 (MET DST) 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 UAA03845 for ; Wed, 25 Aug 2004 20:54:17 +0200 (MET DST) From: briand@aracnet.com Received: from jade.spiritone.com (jade.spiritone.com [216.99.193.136]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id i7PIsFME007989 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 25 Aug 2004 20:54:16 +0200 Received: from soggy.deldotd.com (216-99-206-32.cust.aracnet.com [216.99.206.32]) by jade.spiritone.com (8.12.8/8.12.8) with ESMTP id i7PIs4oR019580; Wed, 25 Aug 2004 11:54:04 -0700 Received: from briand by soggy.deldotd.com with local (Exim 3.36 #1 (Debian)) id 1C02uK-0000EQ-00; Wed, 25 Aug 2004 11:54:04 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16684.57419.984058.252036@soggy.deldotd.com> Date: Wed, 25 Aug 2004 11:54:03 -0700 To: Jacques GARRIGUE Cc: jrouquiethearchiveshouldhaveafewantispamtricks@ens-lyon.fr, caml-list@pauillac.inria.fr Subject: Re: [Caml-list] Re : [path directives] In-Reply-To: <20040824.105432.78379156.garrigue@kurims.kyoto-u.ac.jp> References: <16682.21287.26129.98212@soggy.deldotd.com> <1093293415.412a556748ac7@mouette.ens-lyon.fr> <16682.40154.269687.344133@soggy.deldotd.com> <20040824.105432.78379156.garrigue@kurims.kyoto-u.ac.jp> X-Mailer: VM 6.92 under Emacs 21.2.1 X-Miltered: at concorde with ID 412CE057.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 jacques:01 jacques:01 const:01 const:01 cmo:01 cmo:01 command:98 garrigue:01 garrigue:01 writes:01 identifier:03 cma:03 cma:03 explicitly:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk >>>>> "Jacques" == Jacques GARRIGUE writes: Jacques> The basic reason is that there are two files to read: Jacques> const.cmo and const.cmi, and they are loaded by two Jacques> independent mechanisms. const.cmo must be loaded Jacques> explicitly by a #load command, but const.cmi is searched Jacques> automatically in the path when a Const.xxx identifier is Jacques> used. The independence of the two mechanisms may be Jacques> confusing, but you may understand it better if you think of Jacques> loading a .cma file: in that case, you really don't know Jacques> where the corresponding .cmi should be. I understand the separation of implementation vs interface, however it seems that a reasonable default it to use the path of the cma file to find the cmi before giving up. However if the mechanisms are _completely_ separate then I can see where that would be a problem, and I believe that is what your are saying (?) Thanks Brian ------------------- 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