Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] non-exported functions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-10-28 (21:08)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] non-exported functions
On Tue, Oct 28, 2003 at 12:02:40PM -0800, Dustin Sallings wrote:
> 	I've got a module that contains a few helper functions that should 
> only be used internally.  Is there a way to prevent them from being 
> exported and/or included in ocamldoc output?

Define an .mli file for your module. Anything not listed explicitly in
the .mli file won't be exported.

In addition you can control what ocamldoc produces either by using (*
vs (**, or by using various flags which are detailed in the ocamldoc


Richard Jones.
Merjis Ltd. - all your business data are belong to you.
MONOLITH is an advanced framework for writing web applications in C, easier
than using Perl & Java, much faster and smaller, reusable widget-based arch,
database-backed, discussion, chat, calendaring:

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: