ocamldoc

    3热度

    1回答

    我a.ml这样的: module type ASig = sig val do_something : unit -> int;; end ;; module A:ASig = struct let do_something() = 1;; let do_secrectly() = 2;; end;; 所以我模块A的界面

    3热度

    2回答

    我有一个ocamlbuild项目,其中包含子目录中的一些文件,其中包含列出它们的.mlpack文件。 例如我有一个文件support/logging.ml,它定义了模块Support.Logging。 _tags文件说"support": for-pack(Support)。 这一切都建立和运行良好。但我怎样才能使用ocamldoc为此生成文档? 我发现的最新帖子是从2011年开始的ocamldo

    5热度

    1回答

    下面是一个例子接口test.mli,与ocamldoc风格的注释说: (** ocamldoc module comment *) open MissingModule;; (** ocamldoc function comment *) val test : unit;; 如果我运行命令ocamldoc test.mli,我得到以下错误: File "test.mli", line 2

    3热度

    2回答

    我想在ocamldoc中引用一个类型构造函数。 例如: type x = Awesome | Boring 后来我们想引用一个构造函数的一些文档: (** {!Awesome} is a really great constructor for {!x}. You should definitely use it instead of {!Boring}. *) ocamldoc抱怨: W