From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=AWL,INFO_TLD autolearn=disabled version=3.1.3 Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 1DEA1BC0B for ; Sat, 6 Jan 2007 17:07:49 +0100 (CET) Received: from 30.mail-out.ovh.net (30.mail-out.ovh.net [213.186.62.213]) by discorde.inria.fr (8.13.6/8.13.6) with SMTP id l06G7m0m026796 for ; Sat, 6 Jan 2007 17:07:48 +0100 Received: (qmail 29795 invoked by uid 503); 6 Jan 2007 16:08:03 -0000 Received: (QMFILT: 1.0); 06 Jan 2007 16:08:03 -0000 Received: from b6.ovh.net (HELO mail95.ha.ovh.net) (213.186.33.56) by 30.mail-out.ovh.net with SMTP; 6 Jan 2007 16:08:03 -0000 Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 6 Jan 2007 16:07:54 -0000 Received: from vil93-4-82-227-140-227.fbx.proxad.net (HELO ?192.168.1.2?) (lists%philippewang.info@82.227.140.227) by ns0.ovh.net with SMTP; 6 Jan 2007 16:07:51 -0000 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <17af13780701060757h55ce4f3ai2b1bd3524c723272@mail.gmail.com> References: <17af13780701060722h363d2a2ep9defb458ecb17ab2@mail.gmail.com> <065D28A1-37A8-4AC4-B2D0-EA3D5185A596@philippewang.info> <17af13780701060757h55ce4f3ai2b1bd3524c723272@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <07EFF94A-F74E-46C6-9F12-8863C0A06684@philippewang.info> Content-Transfer-Encoding: quoted-printable From: Philippe Wang Subject: Re: [Caml-list] annotating nested modules with ocamldoc Date: Sat, 6 Jan 2007 17:07:44 +0100 To: Ian Zimmerman , caml-list@inria.fr X-Mailer: Apple Mail (2.752.2) X-Ovh-Remote: 82.227.140.227 (vil93-4-82-227-140-227.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Miltered: at discorde with ID 459FC954.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocamldoc:01 ocaml:01 struct:01 mli:01 cheers:01 boo:98 boo:98 wrote:01 caml-list:01 zimmerman:01 define:01 modules:02 ian:03 module:03 module:03 Le 6 janv. 07 =E0 16:57, Ian Zimmerman a =E9crit : > On 1/6/07, Philippe Wang wrote: > >> I suggest you to use The Stop special comment (**/**) in the .ml =20= >> file. >> >> (ocaml reference manual, section 15.2.2 ) > > I know about that mechanism, it doesn't help in this situation. Note > that the definition of boo uses internal_goo, so internal_goo must > come before module Boo in the source file. Where would I put the stop > comment to achieve what I want? Like that : module Misc =3D struct (**/**) let internal_goo =3D succ end open Misc For example... Well, maybe you don't even need to use (**/**) as you can define such =20= a local module without exporting it in the .mli file... Does it help ? Cheers, Philippe Wang=