summaryrefslogtreecommitdiff
path: root/ocaml/lib/year2025/day03/part01/battery.ml
blob: cb2d9e56511c1097a8395f291cf95ee5b7b842cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module Battery = 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