You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've seen several libraries use this style of comments:
(** [decode_float dec buff ofs len] decodes [len] samples in each channel and puts * the result in [buff] starting at position [ofs]. * @raise Hole_in_data if there was an interruption of the data. * @raise Invalid_parameters if all the data cannot fit in the buffer starting at the given position.*)
However, the * at the beginning of lines confuse odoc. Should this be dealt in the odoc parser, or upstream in OCaml?
Here are some examples, taken from @jonludlam's list in #1138:
I'm in favor of doing this in the ocaml parser directly. This would also make ocamlformat's job easier (assuming there is a flag to tell us whether there is a column of * to be printed or not).
I've seen several libraries use this style of comments:
However, the
*
at the beginning of lines confuse odoc. Should this be dealt in the odoc parser, or upstream in OCaml?Here are some examples, taken from @jonludlam's list in #1138:
The text was updated successfully, but these errors were encountered: