You can search for identifiers within the package.
in-package search v0.2.0
type t
val compare : t -> t -> int
Bags are implemented using Map.Make and therefore require elements to be comparable.
Map.Make