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.2 required=5.0 tests=AWL,UNPARSEABLE_RELAY autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id D2387BBAF for ; Tue, 2 Sep 2008 14:49:10 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhIEAFfTvEiTIFAHiGdsb2JhbACKEog5AQEBDyBFnzCBaQ X-IronPort-AV: E=Sophos;i="4.32,316,1217800800"; d="scan'208";a="16496614" Received: from relay.felk.cvut.cz ([147.32.80.7]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 02 Sep 2008 14:49:10 +0200 X-FELK-MailScanner-Watermark: 1220964544.84666@k/7AnpQ56wp9QFWmZJfseA Received: from k333.felk.cvut.cz (k333.felk.cvut.cz [147.32.87.5]) by relay.felk.cvut.cz (8.14.2/8.14.2) with ESMTP id m82Cn0jo057115 for ; Tue, 2 Sep 2008 14:49:00 +0200 (CEST) (envelope-from kybic@fel.cvut.cz) Received: from K333/SpoolDir by k333.felk.cvut.cz (Mercury 1.48); 2 Sep 08 14:49:00 +0100 Received: from SpoolDir by K333 (Mercury 1.48); 2 Sep 08 14:48:53 +0100 Received: from localhost (147.32.84.19) by k333.felk.cvut.cz (Mercury 1.48) with ESMTP; 2 Sep 08 14:48:50 +0100 To: Caml Subject: Another question on OcamlDoc Reply-To: Jan Kybic From: Jan Kybic In-Reply-To: <1220357131.6406.38.camel@Blefuscu> (David Teller's message of "Tue, 02 Sep 2008 14:05:31 +0200") References: <1220356028.6406.33.camel@Blefuscu> <1220357131.6406.38.camel@Blefuscu> Date: Tue, 02 Sep 2008 14:48:50 +0200 Message-ID: <8763pe7lxp.fsf_-_@fel.cvut.cz> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (relay.felk.cvut.cz [147.32.80.7]); Tue, 02 Sep 2008 14:49:00 +0200 (CEST) X-FELK-MailScanner-Information: X-MailScanner-ID: m82Cn0jo057115 X-FELK-MailScanner: Found to be clean X-FELK-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.599, required 5, autolearn=not spam, BAYES_00 -2.60) X-FELK-MailScanner-From: kybic@fel.cvut.cz X-FELK-MailScanner-To: caml-list@yquem.inria.fr X-Spam: no; 0.00; ocamldoc:01 ocamldoc:01 dependencies:01 ocaml:01 ocamlopt:01 ocaml:01 unbound:01 unbound:01 preprocessor:01 compiles:01 constructor:01 constructor:01 unresolved:02 parse:02 string:02 > And while I'm asking complex questions, can anyone think of a way of > asking OCamlDoc to resolve [string] to [String.t], ['a list] to ['a > List.t], ['a array] to ['a Array.t], etc? Let me add another couple of questions about OcamlDoc. I am sorry if this is a common knowledge. - how can I tell OcamlDoc to only process some files? Actually, the question is rather how to make OcamlDoc ignore the unresolved dependencies and "Unbound type constructor" errors. [Sometimes it is as if OcamlDoc and Ocaml did not parse the files in the same way - a program which compiles with ocamlopt gives me "Unbound type constructor errors" with ocamldoc. I will try to reduce my code into a simple case to post it here later.] - how can I tell OcamlDoc to run a preprocessor on the file first? (I am using ocaml+twt) Thanks, Jan -- ------------------------------------------------------------------------- Jan Kybic tel. +420 2 2435 5721 http://cmp.felk.cvut.cz/~kybic ICQ 200569450