1
votes

I'm looking at an OCaml source file that begins like this

(*s Implementation of n-ary trees. (Some code is borrowed from the OCaml
    standard library, which is copyright 1996 INRIA.) *)

What does (*s mean? I thought the s might be a typo, but it appears in several files, so it must be deliberate.

2
Regular ocamldoc uses (** ... *) doc comments. The above looks like a doc comment, I vaguely remember there is some other documentation extractor out there... - lukstafi

2 Answers

3
votes

There is no such thing in ocaml.

Everything inside (* *) are comments.

May be it must be a convention used by them.