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 WAA25751; Tue, 28 Oct 2003 22:08:10 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id WAA05109 for ; Tue, 28 Oct 2003 22:08:09 +0100 (MET) Received: from aomori.annexia.org (annexia.force9.co.uk [212.56.101.183]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h9SL88108756 for ; Tue, 28 Oct 2003 22:08:08 +0100 (MET) Received: from rich by aomori.annexia.org with local (Exim 3.36 #1 (Debian)) id 1AEb4H-00077K-00; Tue, 28 Oct 2003 21:07:57 +0000 Date: Tue, 28 Oct 2003 21:07:57 +0000 To: Dustin Sallings Cc: caml-list@inria.fr Subject: Re: [Caml-list] non-exported functions Message-ID: <20031028210756.GA27347@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i From: Richard Jones X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 helper:01 ocamldoc:01 mli:01 mli:01 ocamldoc:01 flags:01 freshmeat:01 ltd:98 arch:02 business:96 module:03 module:03 wrote:03 explicitly:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 manual. Rich. -- Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj Merjis Ltd. http://www.merjis.com/ - 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: http://www.annexia.org/freeware/monolith/ ------------------- 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