module Battery : sig type t val of_int : int -> t val to_int : t -> int val to_string : t -> string val compare : t -> t -> int val pp : t -> string end = struct type t = int let of_int i = i let to_int b = b let to_string = string_of_int let compare = Int.compare let pp = string_of_int end