File: test.mli

package info (click to toggle)
ocaml-odoc 2.1.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,744 kB
  • sloc: ml: 37,049; makefile: 124; sh: 79
file content (51 lines) | stat: -rw-r--r-- 882 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
module A_nonhidden : sig
  (** @canonical Test.A *)

  type t
end

module B__hidden : sig
  type t
end

module C__hidden : sig
  (** @canonical Test.C *)

  type t
end

(**/**)

module D_hidden : sig
  (** @canonical Test.D *)

  type t
end

(**/**)

(** This should not have an expansion *)
module A = A_nonhidden

(** This should have an expansion *)
module B = B__hidden

(** This should have an expansion *)
module C = C__hidden

(** This also should have an expansion *)
module D = D_hidden


(** This should render as A.t but link to A_nonhidden/index.html - since A has no expansion *)
type a = A_nonhidden.t

(** This should have no RHS as it's hidden and there is no canonical alternative *)
type b = B__hidden.t

(** This should render as C.t and link to C/index.html *)
type c = C__hidden.t

(** This should render as D.t and link to D/index.html *)
type d = D_hidden.t