Debian Codegraph @

test-suite/output/bug_10739.out

raw
1
2 type nat =
3 | O
4 | S of nat
5
6 (** val f : nat **)
7
8 let f =
9 O
10
11 (** val f : nat **)
12
13 let f =
14 O
15
16 type nat =
17 | O
18 | S of nat
19
20 (** val f : nat **)
21
22 let f =
23 O
24
25 module M =
26 struct
27 (** val g : nat **)
28
29 let g =
30 f
31 end
32
33 (** val g : nat **)
34
35 let g =
36 f
37
38 type nat =
39 | O
40 | S of nat
41
42 (** val f : nat **)
43
44 let f =
45 O
46
47 module M =
48 struct
49 (** val g : nat **)
50
51 let g =
52 f
53
54 module N =
55 struct
56 (** val h : nat **)
57
58 let h =
59 g
60 end
61 end
62
63 (** val h : nat **)
64
65 let h =
66 M.g
67
68 type nat =
69 | O
70 | S of nat
71
72 (** val add : nat -> nat -> nat **)
73
74 let rec add n m =
75 match n with
76 | O -> m
77 | S p -> S (add p m)
78
79 (** val f : nat **)
80
81 let f =
82 O
83
84 module M =
85 struct
86 (** val g : nat **)
87
88 let g =
89 f
90
91 module type S =
92 sig
93 val b : nat
94 end
95
96 module F =
97 functor (X:S) ->
98 struct
99 (** val h : nat **)
100
101 let h =
102 add g X.b
103 end
104 end
105
106 (** val h : nat **)
107
108 let h =
109 add M.g X.b
110
111 type nat =
112 | O
113 | S of nat
114
115 type nat =
116 | O
117 | S of nat
118 (** val foo : nat **)
119
120 let foo =
121 O