ここ はocamldocスタイルのコメントとコメントし、たとえばインタフェースtest.mliです: (** ocamldoc module comment *)
open MissingModule;;
(** ocamldoc function comment *)
val test : unit;;
私はコマンドocamldoc test.mliを実行すると、私は次のエラーを取得:
私はocamldocの型コンストラクタを参照しようとしています。例えば : type x = Awesome | Boring
以降、我々はいくつかのドキュメント内のコンストラクタの1を参照したい: (** {!Awesome} is a really great constructor for {!x}. You should definitely use it instead of {!B