Browse thread
annotating nested modules with ocamldoc
-
Ian Zimmerman
-
Philippe Wang
-
Ian Zimmerman
- Philippe Wang
- Daniel_Bünzli
-
Ian Zimmerman
-
Philippe Wang
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Philippe Wang <lists@p...> |
| Subject: | Re: [Caml-list] annotating nested modules with ocamldoc |
Le 6 janv. 07 à 16:57, Ian Zimmerman a écrit :
> On 1/6/07, Philippe Wang <lists@philippewang.info> wrote:
>
>> I suggest you to use The Stop special comment (**/**) in the .ml
>> 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 =
struct
(**/**)
let internal_goo = succ
end
open Misc
For example...
Well, maybe you don't even need to use (**/**) as you can define such
a local module without exporting it in the .mli file...
Does it help ?
Cheers,
Philippe Wang