You can search for identifiers within the package.
in-package search v0.2.0
type button_type = [
| `Button
| `Reset
| `Submit
]
module type LINKS = sig ... end
module type S = sig ... end