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
type t =
[ `Vals
| `Type
| `Constr
| `Mod
| `Modtype
| `Functor
| `Labels
| `Unknown
| `Apply ]
let to_tag_string = function
| `Mod -> ""
| `Functor -> "[functor]"
| `Labels -> "[label]"
| `Constr -> "[cstr]"
| `Type -> "[type]"
| `Vals -> "[val]"
| `Modtype -> "[Mty]"
| `Unknown -> "[?]"
| `Apply -> "[functor application]"
let to_string = function
| `Mod -> "(module) "
| `Functor -> "(functor)"
| `Labels -> "(label) "
| `Constr -> "(constructor) "
| `Type -> "(type) "
| `Vals -> "(value) "
| `Modtype -> "(module type) "
| `Unknown -> "(unknown)"
| `Apply -> "(functor application)"