You can search for identifiers within the package.
in-package search v0.2.0
type t =
| DIR
| CHR
| BLK
| REG
| FIFO
| LNK
| SOCK
type defns = {
mask : int;
dir : int;
chr : int;
blk : int;
reg : int;
fifo : int;
lnk : int;
sock : int;
}
module Host : sig ... end
val to_char : t -> char
val to_string : t -> string
val to_code : host:Host.t -> t -> int
val of_code_exn : host:Host.t -> int -> t
val of_code : host:Host.t -> int -> t option