From 571f8cb385a0888d6a3c195040d33bb4be891c02 Mon Sep 17 00:00:00 2001 From: DJ O'Leary Date: Thu, 4 Dec 2025 01:48:06 +0100 Subject: feat(2025d2p2): solve 2025 day 2 part 2 --- 2025/ocaml/lib/domain/d02p02.ml | 4 ---- 1 file changed, 4 deletions(-) (limited to '2025/ocaml/lib/domain/d02p02.ml') diff --git a/2025/ocaml/lib/domain/d02p02.ml b/2025/ocaml/lib/domain/d02p02.ml index d1624b6..b2b55f1 100644 --- a/2025/ocaml/lib/domain/d02p02.ml +++ b/2025/ocaml/lib/domain/d02p02.ml @@ -4,12 +4,8 @@ module ID = struct let create num = num - let validate rules id = List.fold_left (fun acc r -> acc || r id) false rules - let incr = ( + ) 1 - let to_int id = id - let to_string = string_of_int let pp id = "ID=" ^ string_of_int id -- cgit v1.2.3