From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id DD9087EEBF for ; Tue, 21 Jul 2015 01:10:00 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=pra; client-ip=74.55.86.74; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=mailfrom; client-ip=74.55.86.74; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@smtp.webfaction.com) identity=helo; client-ip=74.55.86.74; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="postmaster@smtp.webfaction.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0B0AQD2fq1VnEpWN0pch3LASwKBfAEBAQEBARIBAQEBAQgLCQkhLoQkAQEEI1YQCxoCJgICRxAGG4gmBLMNljABCgEBAR6BIooqhFMzB4JoL4EUBZRSjWSGeQ+FV4cEg2GEI4M5AQEB X-IPAS-Result: A0B0AQD2fq1VnEpWN0pch3LASwKBfAEBAQEBARIBAQEBAQgLCQkhLoQkAQEEI1YQCxoCJgICRxAGG4gmBLMNljABCgEBAR6BIooqhFMzB4JoL4EUBZRSjWSGeQ+FV4cEg2GEI4M5AQEB X-IronPort-AV: E=Sophos;i="5.15,511,1432591200"; d="scan'208";a="170998409" Received: from mail6.webfaction.com (HELO smtp.webfaction.com) ([74.55.86.74]) by mail2-smtp-roc.national.inria.fr with ESMTP; 21 Jul 2015 01:10:00 +0200 Received: from [192.168.2.4] (cpc16-cmbg14-2-0-cust300.5-4.cable.virginm.net [86.6.157.45]) by smtp.webfaction.com (Postfix) with ESMTP id 3749E21661CC; Mon, 20 Jul 2015 23:09:57 +0000 (UTC) Date: Tue, 21 Jul 2015 00:09:58 +0100 From: =?utf-8?Q?Daniel_B=C3=BCnzli?= To: "Mr. Herr" Cc: Caml List Message-ID: In-Reply-To: <55AD7820.8080608@freenet.de> References: <55AD534D.9040100@freenet.de> <55AD7820.8080608@freenet.de> X-Mailer: sparrow 1.6.4 (build 1178) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Re: [Caml-list] undefined global Re_posix - ? Le lundi, 20 juillet 2015 =C3=A0 23:37, Mr. Herr a =C3=A9crit : > So there is not much to "/opt/opam/4.02.2/lib/re: added to search path" This only tells you that it will lookup for .cmi files and .cm{o,a} files i= n this directory. It doesn't mean that it *loads* them.=20=20 As you can see in your transcript only re.cma is loaded when you #require r= e and that archive doesn't have the re_posix.cmo file.=20=20 The reason why #show_module Re_posix gives you an answer is because in that= re directory there is the re_posix.cmi file which the toplevel sees and lo= ads to provide you the directive result and mispelling advice. Interface fi= les are automatically looked up but not implementations. >From a usability perspective one could argue that ocamlfind subpackages sho= uld install in their own subdirectory so that the kind of "strange" behavio= ur you witnessed does not occur. Best, Daniel