sig
  type t
  val compare : t -> t -> int
  val to_string : t -> string
  val to_json : t -> OpamJson.t
end