module Inline_records:sig
..end
This test focuses on the printing of documentation for inline record within the latex generator.
exception Simple
A nice exception
exception Less of int
A less simple exception
type
ext = ..
An open sum type
type
r = {
|
lbl : |
(* | Field documentation for non-inline, | *) |
|
more : |
(* | More documentation for r, | *) |
}
A simple record type for reference
type
t =
| |
A of |
(* | Constructor documentation | *) |
A sum type with one inline record
type
s =
| |
B of |
(* | Constructor B documentation | *) |
||||||||||
| |
C of |
(* | Constructor C documentation | *) |
A sum type with two inline records
type
any =
| |
D : |
(* | Constructor D documentation | *) |
A gadt constructor
exception Error of {
|
name : |
(* | Error field documentation | *) |
}
type
ext +=
| |
E of |
(* | Constructor E documentation | *) |
|||||
| |
F of |
(* | Constructor F documentation | *) |
|||||
| |
G of |
(* | Constructor G documentation | *) |
Two new constructors for ext