You can search for identifiers within the package.
in-package search v0.2.0
module X : sig ... end
type witness4
type 'z witness3 = ('z, witness4) t
type ('y, 'z) witness2 = ('y, 'z witness3) t
type ('x, 'y, 'z) witness1 = ('x, ('y, 'z) witness2) t
type ('a, 'x, 'y, 'z) witness = ('a, ('x, 'y, 'z) witness1) t
val inject : ('a, 'x, 'y, 'z) X.t -> ('a, 'x, 'y, 'z) witness
val project : ('a, 'x, 'y, 'z) witness -> ('a, 'x, 'y, 'z) X.t